I struggle to setup the kvmgt correctly, the Github docu says there should be a mdev_supported_types directory, what is missing for my graphic card identifier path.
lspci shows 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 520 (rev 07) for my card, but
ls -la /sys/bus/pci/devices/0000\:02\:00.0/ doesn't show it. I looked for it in other identifier subfolders too.
My notebook is a Lenovo Yoga 900 with an Intel® Core™ i7-6500U CPU @ 2.50GHz × 4 and the Intel® HD Graphics 520 (Skylake GT2) graphics card.
I have compiled the appropriate kernel
flags CONFIG_DRM_I915_GVT, CONFIG_DRM_I915_GVT_KVMGT,
CONFIG_DRM_I915_GVT_XENGT, CONFIG_VFIO_MDEV and
CONFIG_VFIO_MDEV_DEVICE in kernel 4.12.5 for Gentoo Linux and
can modprobe the kvmgt, but it doesn't autoload at boot.
After modprobing it, lsmod shows it is running:
lenovo-yoga ~ # lsmod | grep kvm
kvmgt 24576 0
mdev 16384 2 kvmgt,vfio_mdev
vfio 24576 3 vfio_iommu_type1,kvmgt,vfio_mdev
kvm_intel 184320 0
kvm 483328 2 kvm_intel,kvmgt
irqbypass 16384 1 kvm
I am unsure if I need to use the Qemu from Github, I believe no and think it should be already in the Gentoo Repo and compiled Qemu with following USE flags: app-emulation/qemu alsa gnutls nfs iscsi pulseaudio spice sdl2 ssh usb usbredir vde vhost-net virgl virtfs
How do I find/create my vgpu correctly and attach it to my Windows 8.1 machine?
Thank you much in advance, I am very excited about virtual Intel GPU for KVM/Qemu!