Re: [vfio-users] about hotplug of the IGD device

2017-03-14 Thread Alex Williamson
On Wed, 15 Mar 2017 04:50:40 +0100 Manuel Ullmann wrote: > > Now what I want to do is that rebinding the GPU to the i915 drivers > > after having started the vm. > > Do you have any ways or advices? Thanks. > In theory, this would be done with GVT-g. But it is considered unstable > by its deve

Re: [vfio-users] about hotplug of the IGD device

2017-03-14 Thread Manuel Ullmann
> Now what I want to do is that rebinding the GPU to the i915 drivers > after having started the vm. > Do you have any ways or advices? Thanks. In theory, this would be done with GVT-g. But it is considered unstable by its developers and has not a very convincing kernel option help [1]. It might a

Re: [vfio-users] about hotplug of the IGD device

2017-03-13 Thread fulaiyang
Hi Manuel: Now what I want to do is that rebinding the GPU to the i915 drivers after having started the vm. Do you have any ways or advices? Thanks. At 2017-03-13 22:21:33, "Manuel Ullmann" wrote: >> But I find a interesting thing, if I don't >> start the vm after GPU is bind to the vfio

Re: [vfio-users] about hotplug of the IGD device

2017-03-13 Thread Manuel Ullmann
> But I find a interesting thing, if I don't > start the vm after GPU is bind to the vfio, GPU can still be rebind to > the i915 driver. Do you know why? Thanks. As Alex’ blog [1] pointed out, vfio-pci is basically pci-stub plus creating a vfio device node. pci-stub just prevents other drivers fr

Re: [vfio-users] about hotplug of the IGD device

2017-03-12 Thread fulaiyang
As you pointed it out that I want to unbind and rebind the GPU with the i915 driver repeatedly. But I find a interesting thing, if I don't start the vm after GPU is bind to the vfio, GPU can still be rebind to the i915 driver. Do you know why? Thanks. 在 2017-03-10 22:22:53,"Alex Williams

Re: [vfio-users] about hotplug of the IGD device

2017-03-10 Thread Alex Williamson
On Fri, Mar 10, 2017 at 2:47 AM, fulaiyang wrote: > Hi Alex: > After passthrough the IGD device to the virtual machine, the linux > host can not use the IGD device again. And the dmesg tell that i915 can not > restart the GPU. I know 'Hotplug of the IGD device is not supported' from > the 'V