]> git.proxmox.com Git - qemu-server.git/commitdiff
Add pci.3 to pve-q35.cfg required by virtio-scsi-single
authorKamil Trzciński <ayufan@ayufan.eu>
Sun, 29 Apr 2018 16:17:08 +0000 (18:17 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 2 May 2018 07:14:22 +0000 (09:14 +0200)
(commit message reworked from original[1])
As a temporary workaround add always a pci.3 bridge so that if
virtio-scsi-single is used, either directly or indirectly if SCSI and
iothread is selected, the respective bridge is available:

> The case where we do miss the pci.3 bridge is when using
> virtio-scsi-single, regardless of whether io threads are enabled,
> because we always put those controllers on pci bus 3 (see
> QemuServer/PCI.pm)
-- [2]

A long term solution would be to always add those bridges dynamically
and just filter out the ones which are already inside the pve-q35.cfg
file .

[1]: https://pve.proxmox.com/pipermail/pve-devel/2018-April/031768.html
[2]: https://pve.proxmox.com/pipermail/pve-devel/2018-April/031787.html

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
pve-q35.cfg

index 05f85f07c01b696b0b2a52ec4b67b83c294fb4a2..c233036840e54d47527b5127ac1c059c400aeb97 100644 (file)
   bus = "pcidmi"
   addr = "3.0"
   chassis_nr = "3"
+
+[device "pci.3"]
+  driver = "pci-bridge"
+  bus = "pcidmi"
+  addr = "4.0"
+  chassis_nr = "4"