summary refs log tree commit diff stats
path: root/gitlab/issues/target_i386/host_arm/accel_TCG/2271.toml
blob: 16d1429c963227bf8adc9997fcf31f05478ad207 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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"