Page MenuHomeSolus

Enable kernel modules KVMGT, MDEV, VFIO_MDEV
Closed, ResolvedPublic

Description

Any reason these modules aren't currently enabled? I've compiled them for the last few kernel releases without issue.

Revisions and Commits

Event Timeline

@tarkah as no-one has requested them or made a report previously. The kernel is full of redundant stuff for home computing so they are not globally enabled. When a use case arises they get enabled on next kernel build.

I assume these are to do with virtualisation/passthrough?

Needed per: https://github.com/intel/gvt-linux/wiki/GVTg_Setup_Guide

  • CONFIG_DRM_I915_GVT
  • CONFIG_DRM_I915_GVT_KVMGT
  • CONFIG_VFIO_MDEV
  • CONFIG_VFIO_MDEV_DEVICE

Won't work for the -lts kernel. It's too old. We'll need to check Qemu, but it should be new enough.

@sunnyflunk, makes sense and that is correct.

@DataDrake, thanks for adding the config options. Qemu is new enough to support this, but I am packaging with --enable-gtk, as this supports showing the remote display as per: https://github.com/intel/gvt-linux/wiki/Dma_Buf_User_Guide. Not sure if there is a reason Qemu is packaged with --disable-gtk, but if possible to enable, I can open a new task for that request. It's amazing how great this setup works, I'd recommend anyone with a supported Intel chip try it out!

DataDrake triaged this task as Normal priority.Aug 24 2018, 12:45 PM

@DataDrake, @JoshStrobl Thanks for getting this included so quickly, I appreciate it!