summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/703.toml
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/issues/target_missing/host_missing/accel_missing/703.toml')
-rw-r--r--gitlab/issues/target_missing/host_missing/accel_missing/703.toml29
1 files changed, 29 insertions, 0 deletions
diff --git a/gitlab/issues/target_missing/host_missing/accel_missing/703.toml b/gitlab/issues/target_missing/host_missing/accel_missing/703.toml
new file mode 100644
index 000000000..469b19bfc
--- /dev/null
+++ b/gitlab/issues/target_missing/host_missing/accel_missing/703.toml
@@ -0,0 +1,29 @@
+id = 703
+title = "Resizable BAR (ReBAR) support on VFIO"
+state = "opened"
+created_at = "2021-11-01T09:20:09.204Z"
+closed_at = "n/a"
+labels = ["VFIO", "kind::Feature Request"]
+url = "https://gitlab.com/qemu-project/qemu/-/issues/703"
+host-os = "n/a"
+host-arch = "n/a"
+qemu-version = "n/a"
+guest-os = "n/a"
+guest-arch = "n/a"
+description = "n/a"
+reproduce = "n/a"
+additional = """Currently `vfio_add_ext_cap()` doesn't pass ReBAR support option to VFIO.
+
+There was a report that removing the line you see below makes it boot, but the system is not stable.
+Needs investigation.
+
+[https://github.com/qemu/qemu/blob/2255564fd21059960966b47212def9069cb56077/hw/vfio/pci.c#L2089](https://github.com/qemu/qemu/blob/2255564fd21059960966b47212def9069cb56077/hw/vfio/pci.c#L2089)
+```        switch (cap_id) {
+        case 0: /* kernel masked capability */
+        case PCI_EXT_CAP_ID_SRIOV: /* Read-only VF BARs confuse OVMF */
+        case PCI_EXT_CAP_ID_ARI: /* XXX Needs next function virtualization */
+        case PCI_EXT_CAP_ID_REBAR: /* Can't expose read-only */
+            trace_vfio_add_ext_cap_dropped(vdev->vbasedev.name, cap_id, next);
+```
+
+[Discussion link](https://forum.level1techs.com/t/smart-access-memory-vs-qemu-kvm/169447)"""