summary refs log tree commit diff stats
path: root/gitlab/issues/target_i386/host_arm/accel_TCG/2271.toml
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/issues/target_i386/host_arm/accel_TCG/2271.toml')
-rw-r--r--gitlab/issues/target_i386/host_arm/accel_TCG/2271.toml26
1 files changed, 26 insertions, 0 deletions
diff --git a/gitlab/issues/target_i386/host_arm/accel_TCG/2271.toml b/gitlab/issues/target_i386/host_arm/accel_TCG/2271.toml
new file mode 100644
index 00000000..16d1429c
--- /dev/null
+++ b/gitlab/issues/target_i386/host_arm/accel_TCG/2271.toml
@@ -0,0 +1,26 @@
+id = 2271
+title = "pci passthrough fails from aarch64 to amd64 guest"
+state = "opened"
+created_at = "2024-04-06T18:05:44.288Z"
+closed_at = "n/a"
+labels = ["VFIO", "accel: TCG", "host: arm", "kind::Feature Request", "target: i386"]
+url = "https://gitlab.com/qemu-project/qemu/-/issues/2271"
+host-os = "Ubuntu 23.10"
+host-arch = "aarch64"
+qemu-version = "QEMU emulator version 8.0.4 (Debian 1:8.0.4+dfsg-1ubuntu3.23.10.3)"
+guest-os = "Ubuntu 22.04"
+guest-arch = "AMD64"
+description = """**PCIe device Pass-thru from aarch64 host to amd64 guest fails with the below**
+
+qemu-system-amd64: -device vfio-pci,host=0003:06:00.0: VFIO_MAP_DMA failed: Invalid argument
+qemu-system-amd64: -device vfio-pci,host=0003:06:00.0: vfio 0003:06:00.0: failed to setup container for group 25: memory listener initialization failed: Region pc.ram: vfio_dma_map(0xba4058207210, 0x100000, 0xbff00000, 0xeba70a300000) = -22 (Invalid argument)
+
+pass-thru with same command line syntax works correctly if the guest is aarch64 (qemu-system-aarch64).
+
+AMD64 guest VM otherwise works correctly if -device vfio-pci is not used.
+
+libvirt / virtmanager fail for aarch64 host -> amd64 guest as well."""
+reproduce = """1. Unbind pass-thru device from host.
+2. Attach pass-thru device to vfio-pci
+3. Execute qemu-system-amd64 as above."""
+additional = "n/a"