Hi, I’m trying out the live migration of a VM with vGPUs, following the official document.
However, the virsh migrate
command returned an error saying “Requested operation is not valid: domain has assigned non-USB host devices.” I believe this was because vGPU’s type is mdev
. I checked the libvirt’s source code and thought it was impossible to run this command with a vGPU.
All the steps and code snippet in my experiment were pasted from the official doc and I was able to complete all other steps including creating vGPU, assigning them to a VM, etc.
Test env setting:
vGPU driver: 17.1
libvirt: 6.0.0
Bost host and guest os are Ubuntu 20.04 LTS
Thanks in advance for your help.