<div dir="ltr">nvidia.ko does not support dynamic unbinding of devices.  I've filed a bug with them, they closed it wontfix.  You need to follow the guides to have the VM graphics card bound to pci-stub or vfio-pci directly rather than letting it bind to nvidia.  See for instance <a href="http://vfio.blogspot.com/2015/05/vfio-gpu-how-to-series-part-3-host.html">http://vfio.blogspot.com/2015/05/vfio-gpu-how-to-series-part-3-host.html</a></div>