Re: [Qemu-devel] [RFC v9 14/18] vfio: improve vfio_pci_hot_reset to support more case

2015-06-18 Thread Chen Fan
On 06/17/2015 11:23 PM, Alex Williamson wrote: On Wed, 2015-06-17 at 14:28 +0800, Chen Fan wrote: On 06/16/2015 10:08 PM, Alex Williamson wrote: On Tue, 2015-06-16 at 16:10 +0800, Chen Fan wrote: On 06/10/2015 05:24 AM, Alex Williamson wrote: On Tue, 2015-06-09 at 11:37 +0800, Chen Fan wrote

Re: [Qemu-devel] [RFC v9 14/18] vfio: improve vfio_pci_hot_reset to support more case

2015-06-17 Thread Alex Williamson
On Wed, 2015-06-17 at 14:28 +0800, Chen Fan wrote: > On 06/16/2015 10:08 PM, Alex Williamson wrote: > > On Tue, 2015-06-16 at 16:10 +0800, Chen Fan wrote: > >> On 06/10/2015 05:24 AM, Alex Williamson wrote: > >>> On Tue, 2015-06-09 at 11:37 +0800, Chen Fan wrote: > the vfio_pci_hot_reset diffe

Re: [Qemu-devel] [RFC v9 14/18] vfio: improve vfio_pci_hot_reset to support more case

2015-06-16 Thread Chen Fan
On 06/16/2015 10:08 PM, Alex Williamson wrote: On Tue, 2015-06-16 at 16:10 +0800, Chen Fan wrote: On 06/10/2015 05:24 AM, Alex Williamson wrote: On Tue, 2015-06-09 at 11:37 +0800, Chen Fan wrote: the vfio_pci_hot_reset differentiate the single and multi in-used devices for reset. but sometime

Re: [Qemu-devel] [RFC v9 14/18] vfio: improve vfio_pci_hot_reset to support more case

2015-06-16 Thread Alex Williamson
On Tue, 2015-06-16 at 16:10 +0800, Chen Fan wrote: > On 06/10/2015 05:24 AM, Alex Williamson wrote: > > On Tue, 2015-06-09 at 11:37 +0800, Chen Fan wrote: > >> the vfio_pci_hot_reset differentiate the single and multi in-used > >> devices for reset. but sometimes we own the group without any device

Re: [Qemu-devel] [RFC v9 14/18] vfio: improve vfio_pci_hot_reset to support more case

2015-06-16 Thread Chen Fan
On 06/10/2015 05:24 AM, Alex Williamson wrote: On Tue, 2015-06-09 at 11:37 +0800, Chen Fan wrote: the vfio_pci_hot_reset differentiate the single and multi in-used devices for reset. but sometimes we own the group without any devices, that also should support hot reset. Nope, did you try it?

Re: [Qemu-devel] [RFC v9 14/18] vfio: improve vfio_pci_hot_reset to support more case

2015-06-09 Thread Alex Williamson
On Tue, 2015-06-09 at 11:37 +0800, Chen Fan wrote: > the vfio_pci_hot_reset differentiate the single and multi in-used > devices for reset. but sometimes we own the group without any devices, > that also should support hot reset. Nope, did you try it? It can be done, but the group still needs to

[Qemu-devel] [RFC v9 14/18] vfio: improve vfio_pci_hot_reset to support more case

2015-06-08 Thread Chen Fan
the vfio_pci_hot_reset differentiate the single and multi in-used devices for reset. but sometimes we own the group without any devices, that also should support hot reset. Signed-off-by: Chen Fan --- hw/vfio/pci.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/hw/vfio/pci.c b/