]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add smbios element to schema and configuration to HVM os
authorDaniel Veillard <veillard@redhat.com>
Fri, 5 Nov 2010 13:10:34 +0000 (14:10 +0100)
committerDaniel Veillard <veillard@redhat.com>
Mon, 8 Nov 2010 14:14:50 +0000 (15:14 +0100)
commitd528b52ff96aaef1d7e58e91bc276bd1d5d6ece2
treedecb74d2f6efcbb7659f9ab1d175aec093b670a7
parentebb7a0ddc4753523a265facc14ba323a78573f50
Add smbios element to schema and configuration to HVM os

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
docs/schemas/domain.rng
src/conf/domain_conf.c
src/conf/domain_conf.h