Hallo,
Kernel:
5.3.18-lp152.106
Mainboard: gigabyte ga-m56s-s3 (Virtualisierung svm aktiviert im bios)
Code
# grep -i svm /proc/cpuinfo
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good nopl cpuid extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch vmmcall lbrv
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good nopl cpuid extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch vmmcall lbrv
ich möchte gerne ein Virtuell Testumgebung (Qemu) aufbauen mit einem PCI-Passthough von meine ISDN Karte.
VM an sich klappt super aber: Leider klappt dies nicht ganz mit PCI-Passthough: Fehler:
Code
Fehler beim Starten der Domain: unsupported configuration: host doesn't support passthrough of host PCI devices
Virt-host-valadate spuckt folgendes aus:
Code
# virt-host-validate
QEMU: Checking for hardware virtualization : PASS
QEMU: Checking if device /dev/kvm exists : PASS
QEMU: Checking if device /dev/kvm is accessible : PASS
QEMU: Checking if device /dev/vhost-net exists : PASS
QEMU: Checking if device /dev/net/tun exists : PASS
QEMU: Checking for cgroup 'cpu' controller support : PASS
QEMU: Checking for cgroup 'cpuacct' controller support : PASS
QEMU: Checking for cgroup 'cpuset' controller support : PASS
QEMU: Checking for cgroup 'memory' controller support : PASS
QEMU: Checking for cgroup 'devices' controller support : PASS
QEMU: Checking for cgroup 'blkio' controller support : PASS
QEMU: Checking for device assignment IOMMU support : WARN (No ACPI IVRS table found, IOMMU either disabled in BIOS or not supported by this hardware plat
form)
QEMU: Checking for secure guest support : WARN (Unknown if this platform has Secure Guest support)
LXC: Checking for Linux >= 2.6.26 : PASS
LXC: Checking for namespace ipc : PASS
LXC: Checking for namespace mnt : PASS
LXC: Checking for namespace pid : PASS
LXC: Checking for namespace uts : PASS
LXC: Checking for namespace net : PASS
LXC: Checking for namespace user : PASS
LXC: Checking for cgroup 'cpu' controller support : PASS
LXC: Checking for cgroup 'cpuacct' controller support : PASS
LXC: Checking for cgroup 'cpuset' controller support : PASS
LXC: Checking for cgroup 'memory' controller support : PASS
LXC: Checking for cgroup 'devices' controller support : PASS
LXC: Checking for cgroup 'freezer' controller support : PASS
LXC: Checking for cgroup 'blkio' controller support : PASS
LXC: Checking if device /sys/fs/fuse/connections exists : PASS
Alles anzeigen
Das laden der IOMMU hab ich am kernel bereits angehangen#: mit amd_iommu=on
dmesg sagt folgendes:
Code
# dmesg | grep -i mmu
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.3.18-lp152.106-default root=UUID=50654ff0-a6c2-4c3d-92a8-f22803824262 ramdisk_blocksize=4096 isofrom=/dev/disk/by-label/MUL
TIBOOT:/multiboot/openSUSE-Leap-42.3-NET-x86_64/openSUSE-Leap-42.3-NET-x86_64.iso isofrom_device=/dev/disk/by-label/MULTIBOOT isofrom_system=/multiboot/openSUSE-Leap-42.3-NET-x86_
64/openSUSE-Leap-42.3-NET-x86_64.iso loader=syslinux splash=silent quiet showopts amd_iommu=on
[ 0.263832] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.3.18-lp152.106-default root=UUID=50654ff0-a6c2-4c3d-92a8-f22803824262 ramdisk_blocksize=4096 isofrom=/dev/disk/by-la
bel/MULTIBOOT:/multiboot/openSUSE-Leap-42.3-NET-x86_64/openSUSE-Leap-42.3-NET-x86_64.iso isofrom_device=/dev/disk/by-label/MULTIBOOT isofrom_system=/multiboot/openSUSE-Leap-42.3-N
ET-x86_64/openSUSE-Leap-42.3-NET-x86_64.iso loader=syslinux splash=silent quiet showopts amd_iommu=on
[ 0.318631] AGP: Please enable the IOMMU option in the BIOS setup
[ 0.688785] iommu: Default domain type: Passthrough
[ 2.562364] PCI-DMA: using GART IOMMU.
[ 2.562366] PCI-DMA: Reserving 64MB of IOMMU area in the AGP aperture
Alles anzeigen
Code
# dmesg | grep -e DMAR -e IOMMU
[ 0.318631] AGP: Please enable the IOMMU option in the BIOS setup
[ 2.562364] PCI-DMA: using GART IOMMU.
[ 2.562366] PCI-DMA: Reserving 64MB of IOMMU area in the AGP aperture
Vfio module sind ebenfalls geladen:
Code
# lsmod | grep vfio
vfio_pci 65536 0
vfio_virqfd 16384 1 vfio_pci
vfio_iommu_type1 32768 0
vfio 36864 2 vfio_iommu_type1,vfio_pci
irqbypass 16384 2 vfio_pci,kvm
Hoffe ihr könnt mir hier helfen? danke