Re: [Qemu-devel] [PATCH v16 09/14] add check reset mechanism when hotplug vfio device

2016-01-18 Thread Cao jin
On 01/18/2016 07:03 PM, Marcel Apfelbaum wrote: On 01/12/2016 04:43 AM, Cao jin wrote: From: Chen Fan Since we support multi-function hotplug. the function 0 indicate I think you wanted , instead of ., also I would suggest "..., function 0 indicates..." the closure of the slot, so we hav

Re: [Qemu-devel] [PATCH v16 09/14] add check reset mechanism when hotplug vfio device

2016-01-18 Thread Marcel Apfelbaum
On 01/12/2016 04:43 AM, Cao jin wrote: From: Chen Fan Since we support multi-function hotplug. the function 0 indicate I think you wanted , instead of ., also I would suggest "..., function 0 indicates..." the closure of the slot, so we have the chance to do the check. Signed-off-by: Chen

[Qemu-devel] [PATCH v16 09/14] add check reset mechanism when hotplug vfio device

2016-01-11 Thread Cao jin
From: Chen Fan Since we support multi-function hotplug. the function 0 indicate the closure of the slot, so we have the chance to do the check. Signed-off-by: Chen Fan --- hw/pci/pci.c | 29 + hw/vfio/pci.c| 19 +++ hw/vfio/pc