]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virSysinfoDef: Exempt BIOS variables
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 12 May 2015 10:02:29 +0000 (12:02 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 12 Jun 2015 08:42:34 +0000 (10:42 +0200)
commit3f9cae18fe988030451f8d6871c36744dd7d7d0d
tree82d4bb8050c300a7a1afbdabafbe69cde2651706
parenta377408f0bfe15fcd9aab78fae426b255456da81
virSysinfoDef: Exempt BIOS variables

Move all the bios_* 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