[libvirt] [PATCH 3/7] Add smbios element to schema and configuration to HVM os

Daniel P. Berrange berrange at redhat.com
Mon Nov 8 13:21:53 UTC 2010


On Fri, Nov 05, 2010 at 04:46:34PM +0100, Daniel Veillard wrote:
> 
> the element has a mode attribute allowing only 3 values:
>   - emulate: use the smbios emulation from the hypervisor
>   - host: try to use the smbios values from the node
>   - sysinfo: grab the values from the <sysinfo> fields
> 
> * docs/schemas/domain.rng: extend the schemas
> * src/conf/domain_conf.h: add the flag to the domain config
> * src/conf/domain_conf.h: parse and serialize the smbios if present
> 
> Signed-off-by: Daniel Veillard <veillard at redhat.com>
> ---
>  docs/schemas/domain.rng |   16 ++++++++++++++++
>  src/conf/domain_conf.c  |   32 ++++++++++++++++++++++++++++++++
>  src/conf/domain_conf.h  |   11 +++++++++++
>  3 files changed, 59 insertions(+), 0 deletions(-)

ACK

Daniel
-- 
|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list