0

I am currently trying to create a VM setup on an Ubuntu 20.04. Particularly, I was working on passing through the integrated GPU down to the guest.

When running lspci -nnk, I get the following

00:00.0 Host bridge [0600]: Intel Corporation 4th Gen Core Processor DRAM Controller [8086:0c00] (rev 06)
    Subsystem: ASRock Incorporation 4th Gen Core Processor DRAM Controller [1849:0c00]
    Kernel driver in use: hsw_uncore
00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06)
    Subsystem: ASRock Incorporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [1849:0412]
    Kernel driver in use: i915
    Kernel modules: i915
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
    Subsystem: ASRock Incorporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [1849:0c0c]
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel
00:14.0 USB controller [0c03]: Intel Corporation 9 Series Chipset Family USB xHCI Controller [8086:8cb1]
    Subsystem: ASRock Incorporation 9 Series Chipset Family USB xHCI Controller [1849:8cb1]
    Kernel driver in use: xhci_hcd
00:16.0 Communication controller [0780]: Intel Corporation 9 Series Chipset Family ME Interface #1 [8086:8cba]
    Subsystem: ASRock Incorporation 9 Series Chipset Family ME Interface [1849:8cba]
    Kernel driver in use: mei_me
    Kernel modules: mei_me
00:19.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection (2) I218-V [8086:15a1]
    Subsystem: ASRock Incorporation Ethernet Connection (2) I218-V [1849:15a1]
    Kernel driver in use: e1000e
    Kernel modules: e1000e
00:1a.0 USB controller [0c03]: Intel Corporation 9 Series Chipset Family USB EHCI Controller #2 [8086:8cad]
    Subsystem: ASRock Incorporation 9 Series Chipset Family USB EHCI Controller [1849:8cad]
    Kernel driver in use: ehci-pci
00:1b.0 Audio device [0403]: Intel Corporation 9 Series Chipset Family HD Audio Controller [8086:8ca0]
    Subsystem: ASRock Incorporation 9 Series Chipset Family HD Audio Controller [1849:1150]
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 9 Series Chipset Family PCI Express Root Port 1 [8086:8c90] (rev d0)
    Kernel driver in use: pcieport
00:1c.3 PCI bridge [0604]: Intel Corporation 9 Series Chipset Family PCI Express Root Port 4 [8086:8c96] (rev d0)
    Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation 9 Series Chipset Family USB EHCI Controller #1 [8086:8ca6]
    Subsystem: ASRock Incorporation 9 Series Chipset Family USB EHCI Controller [1849:8ca6]
    Kernel driver in use: ehci-pci
00:1f.0 ISA bridge [0601]: Intel Corporation Z97 Chipset LPC Controller [8086:8cc4]
    Subsystem: ASRock Incorporation Z97 Chipset LPC Controller [1849:8cc4]
    Kernel driver in use: lpc_ich
    Kernel modules: lpc_ich
00:1f.2 SATA controller [0106]: Intel Corporation 9 Series Chipset Family SATA Controller [AHCI Mode] [8086:8c82]
    Subsystem: ASRock Incorporation 9 Series Chipset Family SATA Controller [AHCI Mode] [1849:8c82]
    Kernel driver in use: ahci
    Kernel modules: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 9 Series Chipset Family SMBus Controller [8086:8ca2]
    Subsystem: ASRock Incorporation 9 Series Chipset Family SMBus Controller [1849:8ca2]
    Kernel driver in use: i801_smbus
    Kernel modules: i2c_i801
02:00.0 Network controller [0280]: Intel Corporation Wireless 3160 [8086:08b3] (rev cb)
    Subsystem: Intel Corporation Dual Band Wireless-AC 3160 [8086:0070]
    Kernel driver in use: iwlwifi
    Kernel modules: iwlwifi

I have learned that when a passthrough happens, it happens on a per-IOMMU-group basis. In my case, I see that there is a bunch of other devices in the 00 group. (Is that correct by the way?)

Is that a good idea to try passing the entire 00 group to the guest? Will that deleteriously interfere with the workings of the host system?

Also, what are some workarounds for this? I have seen ACS-patching mentioned here and there but do not know much about it. It appears that there are some serious and real security concerns.

P.S. I would buy a cheap GPU just for the VM, but the case of this machine is miniature. Hence, nothing will fit.

1
  • 1
    If I'm not mistaken if that's the only GPU you have you cannot do it. And in your output I see just one GPU/VGA. Jul 12 at 11:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.