Motivated by discussion with Pino and others.
Michal Prívozník (4):
qemu_firmware: Separate firmware loading into a function
qemu_firmware: Separate machine and arch matching into a function
qemu_firmware: Introduce qemuFirmwareGetSupported
domain capabilities: Expose firmware auto selection feature
docs/formatdomaincaps.html.in | 14 ++
docs/schemas/domaincaps.rng | 3 +
src/conf/domain_capabilities.c | 2 +
src/conf/domain_capabilities.h | 1 +
src/qemu/qemu_capabilities.c | 23 ++-
src/qemu/qemu_capabilities.h | 1 +
src/qemu/qemu_driver.c | 1 +
src/qemu/qemu_firmware.c | 149 ++++++++++++++----
src/qemu/qemu_firmware.h | 9 ++
tests/Makefile.am | 4 +-
.../qemu_1.7.0.x86_64.xml | 4 +
.../qemu_2.12.0-virt.aarch64.xml | 3 +
.../qemu_2.12.0.ppc64.xml | 1 +
.../qemu_2.12.0.s390x.xml | 1 +
.../qemu_2.12.0.x86_64.xml | 4 +
.../qemu_2.6.0-virt.aarch64.xml | 3 +
.../qemu_2.6.0.aarch64.xml | 1 +
.../domaincapsschemadata/qemu_2.6.0.ppc64.xml | 1 +
.../qemu_2.6.0.x86_64.xml | 4 +
.../domaincapsschemadata/qemu_2.7.0.s390x.xml | 1 +
.../qemu_2.8.0-tcg.x86_64.xml | 4 +
.../domaincapsschemadata/qemu_2.8.0.s390x.xml | 1 +
.../qemu_2.8.0.x86_64.xml | 4 +
.../qemu_2.9.0-q35.x86_64.xml | 4 +
.../qemu_2.9.0-tcg.x86_64.xml | 4 +
.../qemu_2.9.0.x86_64.xml | 4 +
.../domaincapsschemadata/qemu_3.0.0.s390x.xml | 1 +
.../qemu_4.0.0.x86_64.xml | 4 +
tests/domaincapstest.c | 16 ++
tests/qemufirmwaretest.c | 58 +++++++
30 files changed, 295 insertions(+), 35 deletions(-)
--
2.21.0