]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virSysinfoDef: Exempt SYSTEM variables
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 12 May 2015 12:33:12 +0000 (14:33 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 12 Jun 2015 08:42:39 +0000 (10:42 +0200)
commit0b92974c15a3ba4b6097966ff3f36fa24645fb28
tree1ff8dc05dae5d915dee348d5324c03456f1f895b
parent3f9cae18fe988030451f8d6871c36744dd7d7d0d
virSysinfoDef: Exempt SYSTEM variables

Move all the system_* fields into a separate struct. Not only this
simplifies the code a bit it also helps us to identify whether BIOS
info is present. We don't have to check all the four variables for
being not-NULL, but we can just check the pointer to the struct.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/domain_conf.c
src/libvirt_private.syms
src/qemu/qemu_command.c
src/util/virsysinfo.c
src/util/virsysinfo.h