Re: [Qemu-devel] [PATCH v4 08/10] vfio: vote the function 0 to do host bus reset when aer occurred

2016-03-23 Thread Chen Fan
On 03/22/2016 05:40 AM, Alex Williamson wrote: On Mon, 21 Mar 2016 18:08:44 +0800 Cao jin wrote: From: Chen Fan Due to all devices assigned to VM on the same way as host if enable aer, so we can easily do the hot reset by selecting

Re: [Qemu-devel] [PATCH v4 08/10] vfio: vote the function 0 to do host bus reset when aer occurred

2016-03-23 Thread Chen Fan
On 03/22/2016 05:40 AM, Alex Williamson wrote: On Mon, 21 Mar 2016 18:08:44 +0800 Cao jin wrote: From: Chen Fan Due to all devices assigned to VM on the same way as host if enable aer, so we can easily do the hot reset by selecting

Re: [Qemu-devel] [PATCH v4 08/10] vfio: vote the function 0 to do host bus reset when aer occurred

2016-03-22 Thread Alex Williamson
On Tue, 22 Mar 2016 18:14:45 +0800 Chen Fan wrote: > On 03/22/2016 05:40 AM, Alex Williamson wrote: > > On Mon, 21 Mar 2016 18:08:44 +0800 > > Cao jin wrote: > > > >> From: Chen Fan > >> > >> Due to all

Re: [Qemu-devel] [PATCH v4 08/10] vfio: vote the function 0 to do host bus reset when aer occurred

2016-03-22 Thread Chen Fan
On 03/22/2016 05:40 AM, Alex Williamson wrote: On Mon, 21 Mar 2016 18:08:44 +0800 Cao jin wrote: From: Chen Fan Due to all devices assigned to VM on the same way as host if enable aer, so we can easily do the hot reset by selecting

Re: [Qemu-devel] [PATCH v4 08/10] vfio: vote the function 0 to do host bus reset when aer occurred

2016-03-21 Thread Alex Williamson
On Mon, 21 Mar 2016 18:08:44 +0800 Cao jin wrote: > From: Chen Fan > > Due to all devices assigned to VM on the same way as host if enable > aer, so we can easily do the hot reset by selecting the function #0 > to do the hot reset. > >

[Qemu-devel] [PATCH v4 08/10] vfio: vote the function 0 to do host bus reset when aer occurred

2016-03-21 Thread Cao jin
From: Chen Fan Due to all devices assigned to VM on the same way as host if enable aer, so we can easily do the hot reset by selecting the function #0 to do the hot reset. Signed-off-by: Chen Fan --- hw/vfio/pci.c | 50