summary refs log tree commit diff stats
path: root/gitlab/issues/target_i386/host_missing/accel_missing/1998.toml
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/issues/target_i386/host_missing/accel_missing/1998.toml')
-rw-r--r--gitlab/issues/target_i386/host_missing/accel_missing/1998.toml35
1 files changed, 35 insertions, 0 deletions
diff --git a/gitlab/issues/target_i386/host_missing/accel_missing/1998.toml b/gitlab/issues/target_i386/host_missing/accel_missing/1998.toml
new file mode 100644
index 000000000..b89e94f32
--- /dev/null
+++ b/gitlab/issues/target_i386/host_missing/accel_missing/1998.toml
@@ -0,0 +1,35 @@
+id = 1998
+title = "acpihp does not work with some common guest kernels"
+state = "opened"
+created_at = "2023-11-22T19:32:07.015Z"
+closed_at = "n/a"
+labels = ["ACPI", "target: i386"]
+url = "https://gitlab.com/qemu-project/qemu/-/issues/1998"
+host-os = "Fedora Linux 38"
+host-arch = "x86 64"
+qemu-version = "QEMU emulator version 7.2.6 (qemu-7.2.6-1.fc38)"
+guest-os = "Fedora 39"
+guest-arch = "x86 64"
+description = """for pc-q35 6.1, 7.2, any guest kernel with `ACPI: Core revision` < 20230331, can not hot plug the nvidia GPUs.
+So basically only guest kernel >= 6.5 can make it work so far.
+But majority of server kernels are still at 4.18, 5.x. I wonder if it possible to be fixed?
+I also don't know is this qemu bug? bios bug? or actually ACPIA's bug?
+
+journal -k report error like following:
+```
+Nov 11 17:53:00 VMTEST kernel: pci 0000:08:00.0: BAR 0: no space for [mem size 0x01000000]
+Nov 11 17:53:00 VMTEST kernel: pci 0000:08:00.0: BAR 0: failed to assign [mem size 0x01000000]
+Nov 11 17:53:00 VMTEST kernel: pci 0000:08:00.0: BAR 6: assigned [mem 0x81800000-0x8187ffff pref]
+Nov 11 17:53:00 VMTEST kernel: pci 0000:08:00.0: BAR 5: assigned [io  0xa000-0xa07f]
+Nov 11 17:53:00 VMTEST kernel: nvidia 0000:08:00.0: enabling device (0000 -> 0003)
+Nov 11 17:53:00 VMTEST kernel: NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
+                                                NVRM: BAR0 is 0M @ 0x0 (PCI:0000:08:00.0)
+Nov 11 17:53:00 VMTEST kernel: nvidia: probe of 0000:08:00.0 failed with error -1
+```"""
+reproduce = """1. run the instance as I described above
+2. in qemu monitor: device_add vfio-pci,host=0000:06:00.0,id=gpu0,bus=pci.8
+3. login to the vm console then nvidia-smi to see the failure
+
+workaround:
+`ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off` to disable the acpihp then pciehp can make it work."""
+additional = """"""