summary refs log tree commit diff stats
path: root/gitlab/issues/target_i386/host_missing/accel_missing/705.toml
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/issues/target_i386/host_missing/accel_missing/705.toml')
-rw-r--r--gitlab/issues/target_i386/host_missing/accel_missing/705.toml39
1 files changed, 39 insertions, 0 deletions
diff --git a/gitlab/issues/target_i386/host_missing/accel_missing/705.toml b/gitlab/issues/target_i386/host_missing/accel_missing/705.toml
new file mode 100644
index 000000000..9858872b4
--- /dev/null
+++ b/gitlab/issues/target_i386/host_missing/accel_missing/705.toml
@@ -0,0 +1,39 @@
+id = 705
+title = "Failed to acpi hotplug on pcie root ports in case of q35+ovmf+machine type 6.1"
+state = "closed"
+created_at = "2021-11-02T06:48:55.540Z"
+closed_at = "2021-11-29T05:55:24.389Z"
+labels = ["ACPI", "Regression", "device:virtio", "target: i386"]
+url = "https://gitlab.com/qemu-project/qemu/-/issues/705"
+host-os = "n/a"
+host-arch = "n/a"
+qemu-version = "v6.1.0-1861-gaf531756d2"
+guest-os = "n/a"
+guest-arch = "n/a"
+description = """Hotplug on multifunction bridges use ACPI hotplug instead of Native since machine type 6.1
+In this case, Hotplug works well on q35 with bios fireware, But doesn't work on q35 with ovmf firmware.
+E.g:
+/usr/bin/qemu-system-x86_64 \\
+-machine pc-q35-6.1,accel=kvm,pflash0=...... \\
+-device pcie-root-port,port=0x10,chassis=1,id=pci.1,bus=pcie.0,multifunction=on,addr=0x1 \\
+-device pcie-root-port,port=0x11,chassis=2,id=pci.2,bus=pcie.0,addr=0x1.0x1 \\
+-device pcie-root-port,port=0x12,chassis=3,id=pci.3,bus=pcie.0,addr=0x1.0x2 \\
+......
+
+(qemu) netdev_add bridge,br=br0,id=hostnet1
+(qemu) device_add virtio-net-pci,netdev=hostnet1,id=net1,bus=pci.3
+
+Error message in guest kernel:
+kernel: pci 0000:03:00.0: [1af4:1041] type 00 class 0x020000
+kernel: pci 0000:03:00.0: reg 0x14: [mem 0x00000000-0x00000fff]
+kernel: pci 0000:03:00.0: reg 0x20: [mem 0x00000000-0x00003fff 64bit pref]
+kernel: pci 0000:03:00.0: reg 0x30: [mem 0x00000000-0x0003ffff pref]
+kernel: pci 0000:03:00.0: BAR 6: no space for [mem size 0x00040000 pref]
+kernel: pci 0000:03:00.0: BAR 6: failed to assign [mem size 0x00040000 pref]
+kernel: pci 0000:03:00.0: BAR 4: no space for [mem size 0x00004000 64bit pref]
+kernel: pci 0000:03:00.0: BAR 4: failed to assign [mem size 0x00004000 64bit pref]
+kernel: pci 0000:03:00.0: BAR 1: no space for [mem size 0x00001000]
+kernel: pci 0000:03:00.0: BAR 1: failed to assign [mem size 0x00001000]
+kernel: virtio-pci 0000:03:00.0: virtio_pci: leaving for legacy driver"""
+reproduce = "n/a"
+additional = "n/a"