Hello. I am a junior in virtualization. I'm trying passthrough an integrated video card inside a VM, but, unfortunately, when I start the VM, I see only blank screen (connection via HDMI).
My PC configuration:
- Mainboard: ASRock J5005-ITX;
- CPU: Intel Pentium J5005;
- RAM: 2 x 8Gb DDR4-2400;
- GPU: Intel UHD 605.
I did everything according to the instructions, which is given in this forum:
- run lspci -nn | grep "VGA":
- Add "
- run
- Add to /etc/modprobe.d/blacklist.conf:
- Add to /etc/modprobe.d/kvm.conf:
- Add to /etc/modprobe.d/vfio.conf:
- Add to /etc/modules:
- run update-initramfs -u;
- reboot.
The VM configuration is as below:
Tell me, please, what am I doing wrong?
My PC configuration:
- Mainboard: ASRock J5005-ITX;
- CPU: Intel Pentium J5005;
- RAM: 2 x 8Gb DDR4-2400;
- GPU: Intel UHD 605.
I did everything according to the instructions, which is given in this forum:
- run lspci -nn | grep "VGA":
Code:
00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 605 [8086:3184] (rev 03)
intel_iommu=on video=efifb:off
" to GRUB_CMDLINE_LINUX_DEFAULT;- run
update-grub
;- Add to /etc/modprobe.d/blacklist.conf:
Code:
blacklist snd_hda_intel
blacklist snd_hda_codec_hdmi
blacklist i915
Code:
options kvm ignore_msrs=1
Code:
options vfio-pci ids=8086:3184 disable_vga=1
Code:
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
- reboot.
The VM configuration is as below:
Code:
agent: 1
args: -device vfio-pci,host=00:02.0,addr=0x18,x-igd-opregion=on
balloon: 0
bios: ovmf
boot: dc
bootdisk: sata0
cores: 2
cpu: host
efidisk0: local:100/vm-100-disk-1.qcow2,size=128K
machine: q35
memory: 2048
name: Win10
net0: virtio=DA:52:A4:8B:C5:6F,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
sata0: local:iso/windows.iso,media=cdrom
sata1: local:100/vm-100-disk-0.qcow2,size=32G
scsihw: virtio-scsi-pci
smbios1: uuid=a02656db-e97c-4c2c-a4ff-955328ad71fc
sockets: 1
vga: none
vmgenid: 26990a9f-5645-47c4-99f6-1fa87481c708
Tell me, please, what am I doing wrong?