Re: [Qemu-devel] [PATCH v3 4/5] vfio-pci: Add FAILOVER_PRIMARY_CHANGED event to shorten downtime during failover

2019-01-07 Thread si-wei liu
On 01/07/2019 03:41 PM, Alex Williamson wrote: On Mon, 7 Jan 2019 18:22:20 -0500 "Michael S. Tsirkin" wrote: On Mon, Jan 07, 2019 at 04:17:17PM -0700, Alex Williamson wrote: On Mon, 7 Jan 2019 17:29:43 -0500 Venu Busireddy wrote: From: Si-Wei Liu When a VF is hotplugged into the

Re: [Qemu-devel] [PATCH v3 4/5] vfio-pci: Add FAILOVER_PRIMARY_CHANGED event to shorten downtime during failover

2019-01-07 Thread Michael S. Tsirkin
On Mon, Jan 07, 2019 at 05:24:15PM -0700, Alex Williamson wrote: > On Mon, 7 Jan 2019 19:12:06 -0500 > "Michael S. Tsirkin" wrote: > > > On Mon, Jan 07, 2019 at 04:41:15PM -0700, Alex Williamson wrote: > > > On Mon, 7 Jan 2019 18:22:20 -0500 > > > "Michael S. Tsirkin" wrote: > > > > > > > On

Re: [Qemu-devel] [PATCH v3 4/5] vfio-pci: Add FAILOVER_PRIMARY_CHANGED event to shorten downtime during failover

2019-01-07 Thread Alex Williamson
On Mon, 7 Jan 2019 19:12:06 -0500 "Michael S. Tsirkin" wrote: > On Mon, Jan 07, 2019 at 04:41:15PM -0700, Alex Williamson wrote: > > On Mon, 7 Jan 2019 18:22:20 -0500 > > "Michael S. Tsirkin" wrote: > > > > > On Mon, Jan 07, 2019 at 04:17:17PM -0700, Alex Williamson wrote: > > > > On Mon,

Re: [Qemu-devel] [PATCH v3 4/5] vfio-pci: Add FAILOVER_PRIMARY_CHANGED event to shorten downtime during failover

2019-01-07 Thread Michael S. Tsirkin
On Mon, Jan 07, 2019 at 04:41:15PM -0700, Alex Williamson wrote: > On Mon, 7 Jan 2019 18:22:20 -0500 > "Michael S. Tsirkin" wrote: > > > On Mon, Jan 07, 2019 at 04:17:17PM -0700, Alex Williamson wrote: > > > On Mon, 7 Jan 2019 17:29:43 -0500 > > > Venu Busireddy wrote: > > > > > > > From:

Re: [Qemu-devel] [PATCH v3 4/5] vfio-pci: Add FAILOVER_PRIMARY_CHANGED event to shorten downtime during failover

2019-01-07 Thread Alex Williamson
On Mon, 7 Jan 2019 18:22:20 -0500 "Michael S. Tsirkin" wrote: > On Mon, Jan 07, 2019 at 04:17:17PM -0700, Alex Williamson wrote: > > On Mon, 7 Jan 2019 17:29:43 -0500 > > Venu Busireddy wrote: > > > > > From: Si-Wei Liu > > > > > > When a VF is hotplugged into the guest, datapath

Re: [Qemu-devel] [PATCH v3 4/5] vfio-pci: Add FAILOVER_PRIMARY_CHANGED event to shorten downtime during failover

2019-01-07 Thread Alex Williamson
On Mon, 7 Jan 2019 17:29:43 -0500 Venu Busireddy wrote: > From: Si-Wei Liu > > When a VF is hotplugged into the guest, datapath switching will be > performed immediately, which is sub-optimal in terms of timing, and > could end up with substantial network downtime. One of ways to shorten >

Re: [Qemu-devel] [PATCH v3 4/5] vfio-pci: Add FAILOVER_PRIMARY_CHANGED event to shorten downtime during failover

2019-01-07 Thread Michael S. Tsirkin
On Mon, Jan 07, 2019 at 04:17:17PM -0700, Alex Williamson wrote: > On Mon, 7 Jan 2019 17:29:43 -0500 > Venu Busireddy wrote: > > > From: Si-Wei Liu > > > > When a VF is hotplugged into the guest, datapath switching will be > > performed immediately, which is sub-optimal in terms of timing,

[Qemu-devel] [PATCH v3 4/5] vfio-pci: Add FAILOVER_PRIMARY_CHANGED event to shorten downtime during failover

2019-01-07 Thread Venu Busireddy
From: Si-Wei Liu When a VF is hotplugged into the guest, datapath switching will be performed immediately, which is sub-optimal in terms of timing, and could end up with substantial network downtime. One of ways to shorten this downtime is to switch the datapath only after the VF is seen to get