mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
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
4a42ece13a). 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>
This commit is contained in:
@@ -24,6 +24,6 @@ server,nowait \
|
||||
-rtc base=utc \
|
||||
-no-shutdown \
|
||||
-device zpci,uid=1,fid=0,target=hostdev0,id=zpci1 \
|
||||
-device vfio-pci,host=00:00.0,id=hostdev0,bus=pci.0,addr=0x1 \
|
||||
-device vfio-pci,host=0000:00:00.0,id=hostdev0,bus=pci.0,addr=0x1 \
|
||||
-device zpci,uid=2,fid=1,target=balloon0,id=zpci2 \
|
||||
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x2
|
||||
|
||||
Reference in New Issue
Block a user