]> xenbits.xensource.com Git - libvirt.git/commit
driver config: Introduce virFirmware object
authorJim Fehlig <jfehlig@suse.com>
Tue, 17 May 2016 22:45:27 +0000 (16:45 -0600)
committerJim Fehlig <jfehlig@suse.com>
Mon, 13 Jun 2016 20:13:16 +0000 (14:13 -0600)
commitfda5a98e9e0bc903f88ef6b3412c3a1cf6c01dcc
tree5a69abbf06c20d86de8224949ab304b5811fc08d
parent9ac9450780b234e342a24c700ff87cf95bfa24f6
driver config: Introduce virFirmware object

The virQEMUDriverConfig object contains lists of
loader:nvram pairs to advertise firmwares supported by
by the driver, and qemu_conf.c contains code to populate
the lists, all of which is useful for other drivers too.

To avoid code duplication, introduce a virFirmware object
to encapsulate firmware details and switch the qemu driver
to use it.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
12 files changed:
po/POTFILES.in
src/Makefile.am
src/libvirt_private.syms
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
src/qemu/qemu_conf.c
src/qemu/qemu_conf.h
src/qemu/qemu_driver.c
src/qemu/qemu_process.c
src/util/virfirmware.c [new file with mode: 0644]
src/util/virfirmware.h [new file with mode: 0644]
tests/domaincapstest.c