[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

KVM: GPU passthrough



Hello

I want to use the graphics card directly in the virtual machine. IOMMU
seems to be running, but unfortunately it doesn't work when I want to
start the virtual machine.


pci:

[    0.010066] ACPI: DMAR 0x000000009D8B7000 000070 (v01 INTEL  EDK2
  00000002      01000013)
[    0.121392] DMAR: IOMMU enabled
[    0.202324] DMAR: Host address width 39
[    0.202325] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[    0.202331] DMAR: dmar0: reg_base_addr fed91000 ver 1:0 cap
d2008c40660462 ecap f050da
[    0.202333] DMAR: RMRR base: 0x0000009e543000 end: 0x0000009e78cfff
[    0.202336] DMAR-IR: IOAPIC id 2 under DRHD base  0xfed91000 IOMMU 0
[    0.202338] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[    0.202339] DMAR-IR: Queued invalidation will be enabled to support
x2apic and Intr-remapping.
[    0.203666] DMAR-IR: Enabled IRQ remapping in x2apic mode
[    0.391676] iommu: Default domain type: Translated
[    0.591706] DMAR: No ATSR found
[    0.591762] DMAR: dmar0: Using Queued invalidation
[    0.591942] pci 0000:00:00.0: Adding to iommu group 0
[    0.592011] pci 0000:00:01.0: Adding to iommu group 1
[    0.592090] pci 0000:00:08.0: Adding to iommu group 2
[    0.592367] pci 0000:00:14.0: Adding to iommu group 3
[    0.592378] pci 0000:00:14.2: Adding to iommu group 3
[    0.592438] pci 0000:00:16.0: Adding to iommu group 4
[    0.592519] pci 0000:00:17.0: Adding to iommu group 5
[    0.592583] pci 0000:00:1b.0: Adding to iommu group 6
[    0.592674] pci 0000:00:1c.0: Adding to iommu group 7
[    0.592687] pci 0000:00:1c.3: Adding to iommu group 7
[    0.594066] pci 0000:00:1f.0: Adding to iommu group 8
[    0.594075] pci 0000:00:1f.2: Adding to iommu group 8
[    0.594084] pci 0000:00:1f.4: Adding to iommu group 8
[    0.594091] pci 0000:01:00.0: Adding to iommu group 1
[    0.594096] pci 0000:01:00.1: Adding to iommu group 1
[    0.594104] pci 0000:02:00.0: Adding to iommu group 6
[    0.594112] pci 0000:03:00.0: Adding to iommu group 7
[    0.594119] pci 0000:04:00.0: Adding to iommu group 7
[    0.594122] DMAR: Intel(R) Virtualization Technology for Directed I/O


error:
pci,host=0000:01:00.0,id=hostdev0,bus=pci.0,addr=0x9: vfio
0000:01:00.0: group 1 is not viable
Please ensure all devices within the iommu_group are bound to their
vfio bus driver.


Reply to: