mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-01-05 09:17:55 +03:00
cfg2cmd test: hostpci, also specify exact PCIe devices
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
f66bff004c
commit
05a427dfbc
@ -4,11 +4,11 @@ bootdisk: scsi0
|
||||
cores: 1
|
||||
efidisk0: local:100/vm-100-disk-1.qcow2,size=128K
|
||||
hostpci0: 00:ff.1
|
||||
hostpci1: 00:13,pcie=1
|
||||
hostpci1: d0:13.0,pcie=1
|
||||
hostpci2: 00:f4.0
|
||||
hostpci3: 00:15,pcie=1
|
||||
hostpci4: 00:17,pcie=1,rombar=0
|
||||
hostpci7: 00:15,pcie=1
|
||||
hostpci3: d0:15.1,pcie=1
|
||||
hostpci4: d0:17.0,pcie=1,rombar=0
|
||||
hostpci7: d0:15.1,pcie=1
|
||||
machine: q35
|
||||
memory: 512
|
||||
net0: virtio=2E:01:68:F9:9C:87,bridge=vmbr0
|
||||
|
@ -24,9 +24,13 @@
|
||||
-readconfig /usr/share/qemu-server/pve-q35-4.0.cfg \
|
||||
-device 'usb-tablet,id=tablet,bus=ehci.0,port=1' \
|
||||
-device 'vfio-pci,host=00:ff.1,id=hostpci0,bus=pci.0,addr=0x10' \
|
||||
-device 'vfio-pci,host=d0:13.0,id=hostpci1,bus=ich9-pcie-port-2,addr=0x0' \
|
||||
-device 'vfio-pci,host=00:f4.0,id=hostpci2,bus=pci.0,addr=0x1b' \
|
||||
-device 'vfio-pci,host=d0:15.1,id=hostpci3,bus=ich9-pcie-port-4,addr=0x0' \
|
||||
-device 'pcie-root-port,id=ich9-pcie-port-5,addr=10.0,x-speed=16,x-width=32,multifunction=on,bus=pcie.0,port=5,chassis=5' \
|
||||
-device 'vfio-pci,host=d0:17.0,id=hostpci4,bus=ich9-pcie-port-5,addr=0x0,rombar=0' \
|
||||
-device 'pcie-root-port,id=ich9-pcie-port-8,addr=10.3,x-speed=16,x-width=32,multifunction=on,bus=pcie.0,port=8,chassis=8' \
|
||||
-device 'vfio-pci,host=d0:15.1,id=hostpci7,bus=ich9-pcie-port-8,addr=0x0' \
|
||||
-device 'VGA,id=vga,bus=pcie.0,addr=0x1' \
|
||||
-device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' \
|
||||
-iscsi 'initiator-name=iqn.1993-08.org.debian:01:aabbccddeeff' \
|
||||
|
@ -4,8 +4,8 @@ bootdisk: scsi0
|
||||
cores: 1
|
||||
efidisk0: local:100/vm-100-disk-1.qcow2,size=128K
|
||||
hostpci0: f0:42.0
|
||||
hostpci1: 00:12,pcie=1
|
||||
hostpci4: 00:12,pcie=1
|
||||
hostpci1: f0:43.0,pcie=1
|
||||
hostpci4: 00:43.1,pcie=1
|
||||
machine: q35
|
||||
memory: 512
|
||||
net0: virtio=2E:01:68:F9:9C:87,bridge=vmbr0
|
||||
|
@ -25,9 +25,9 @@
|
||||
-readconfig /usr/share/qemu-server/pve-q35-4.0.cfg \
|
||||
-device 'usb-tablet,id=tablet,bus=ehci.0,port=1' \
|
||||
-device 'vfio-pci,host=f0:42.0,id=hostpci0,bus=pci.0,addr=0x10' \
|
||||
-device 'vfio-pci,host=00:12.0,id=hostpci1,bus=ich9-pcie-port-2,addr=0x0' \
|
||||
-device 'vfio-pci,host=f0:43.0,id=hostpci1,bus=ich9-pcie-port-2,addr=0x0' \
|
||||
-device 'pcie-root-port,id=ich9-pcie-port-5,addr=10.0,x-speed=16,x-width=32,multifunction=on,bus=pcie.0,port=5,chassis=5' \
|
||||
-device 'vfio-pci,host=00:12.0,id=hostpci4,bus=ich9-pcie-port-5,addr=0x0' \
|
||||
-device 'vfio-pci,host=00:43.1,id=hostpci4,bus=ich9-pcie-port-5,addr=0x0' \
|
||||
-device 'VGA,id=vga,bus=pcie.0,addr=0x1' \
|
||||
-device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' \
|
||||
-iscsi 'initiator-name=iqn.1993-08.org.debian:01:aabbccddeeff' \
|
||||
|
Loading…
Reference in New Issue
Block a user