]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Build QEMU command line for pcihole64
authorJán Tomko <jtomko@redhat.com>
Mon, 12 Aug 2013 11:48:34 +0000 (13:48 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 27 Aug 2013 15:42:29 +0000 (17:42 +0200)
commit63ee776f8cd876b7d1a618bf4ca1cba1b62c35bd
tree97406dee396ff650a55c54db22a3e6573e871366
parent01cda91809751f82ed24ae0eda11ae168d562d7e
Build QEMU command line for pcihole64

QEMU commit 3984890 introduced the "pci-hole64-size" property,
to i440FX-pcihost and q35-pcihost with a default setting of 2 GB.

Translate <pcihole64>x<pcihole64/> to:
-global q35-pcihost.pci-hole64-size=x for q35 machines and
-global i440FX-pcihost.pci-hole64-size=x for i440FX-based machines.

Error out on other machine types or if the size was specified
but the pcihost device lacks 'pci-hole64-size' property.

https://bugzilla.redhat.com/show_bug.cgi?id=990418
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemuxml2argv-pcihole64-none.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-pcihole64-q35.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-pcihole64.args [new file with mode: 0644]
tests/qemuxml2argvtest.c