tenclass / mvisor

A mini x86 hypervisor
GNU General Public License v3.0
238 stars 55 forks source link

possible headless gpu passthrough/single gpu passthrough on mvisor? #50

Open devtinoimao opened 2 months ago

devtinoimao commented 2 months ago

I heard mvisor supports vfio migrations, so can I passthrough my gpu to mvisor and ditch qemu for the last time? I can probably run a single gpu passthrough vm start hook script then start the mvisor vm through ssh (that's my plan), oh and also how can I passthrough my gpu (if possible)?

78 commented 2 months ago

VFIO migration works well with mdev devices IIRC, such as NVIDIA vGPU and Intel GVT. Passthrough mode is not supported as the host GPU driver does not provide an interface to dump its states.

devtinoimao commented 2 months ago

ok I'll maybe try vgpu unlock with my nvidia does that work