]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuBuildPCIHostdevDevStr: Always format PCI domain onto cmd line
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 30 Jul 2019 11:34:45 +0000 (13:34 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 5 Aug 2019 17:42:15 +0000 (19:42 +0200)
commit1737d11e1b5bbe36bf574b55d8b031c1328c2226
tree11065e7d6dc91a1acb567a963abde3679025009f
parent86e3de05659be3e93c33beeb714908536800e18b
qemuBuildPCIHostdevDevStr: Always format PCI domain onto cmd line

While it's true that older QEMUs were not able to deal with PCI
domains, we don't support those versions anymore (see
4a42ece13a538). Therefore it is safe to always format fully
expanded PCI address. Format PCI domain always as it will
simplify next commits.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_command.c
tests/qemuxml2argvdata/hostdev-pci-address-device.args
tests/qemuxml2argvdata/hostdev-pci-address.args
tests/qemuxml2argvdata/hostdev-vfio-zpci-autogenerate.args
tests/qemuxml2argvdata/hostdev-vfio-zpci-boundaries.args
tests/qemuxml2argvdata/hostdev-vfio-zpci.args
tests/qemuxml2argvdata/hostdev-vfio.args
tests/qemuxml2argvdata/net-hostdev-bootorder.args
tests/qemuxml2argvdata/net-hostdev-vfio.args
tests/qemuxml2argvdata/net-hostdev.args
tests/qemuxml2argvdata/pci-rom.args