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

Daniel Veillard veillard at redhat.com
Tue Nov 2 16:36:45 UTC 2010


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  |   17 +++++++++++++++++
 src/conf/domain_conf.h  |   11 +++++++++++
 3 files changed, 44 insertions(+), 0 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Add-smbios-element-to-schema-and-configuration.patch
Type: text/x-patch
Size: 3211 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20101102/5dd5388b/attachment-0001.bin>


More information about the libvir-list mailing list