Re: [PATCH v3 10/10] vfio: unplug failover primary device before migration

2019-10-17 Thread Jens Freimann
On Wed, Oct 16, 2019 at 06:39:58PM -0600, Alex Williamson wrote: On Wed, 16 Oct 2019 22:18:47 +0200 Jens Freimann wrote: On Tue, Oct 15, 2019 at 07:52:12PM -0600, Alex Williamson wrote: >On Fri, 11 Oct 2019 13:20:15 +0200 >Jens Freimann wrote: > >> As usual block all vfio-pci devices from

Re: [PATCH v3 10/10] vfio: unplug failover primary device before migration

2019-10-16 Thread Alex Williamson
On Wed, 16 Oct 2019 22:18:47 +0200 Jens Freimann wrote: > On Tue, Oct 15, 2019 at 07:52:12PM -0600, Alex Williamson wrote: > >On Fri, 11 Oct 2019 13:20:15 +0200 > >Jens Freimann wrote: > > > >> As usual block all vfio-pci devices from being migrated, but make an > >> exception for failover

Re: [PATCH v3 10/10] vfio: unplug failover primary device before migration

2019-10-16 Thread Jens Freimann
On Tue, Oct 15, 2019 at 07:52:12PM -0600, Alex Williamson wrote: On Fri, 11 Oct 2019 13:20:15 +0200 Jens Freimann wrote: As usual block all vfio-pci devices from being migrated, but make an exception for failover primary devices. This is achieved by setting unmigratable to 0 but also add a

Re: [PATCH v3 10/10] vfio: unplug failover primary device before migration

2019-10-15 Thread Alex Williamson
On Fri, 11 Oct 2019 13:20:15 +0200 Jens Freimann wrote: > As usual block all vfio-pci devices from being migrated, but make an > exception for failover primary devices. This is achieved by setting > unmigratable to 0 but also add a migration blocker for all vfio-pci > devices except failover

Re: [PATCH v3 10/10] vfio: unplug failover primary device before migration

2019-10-14 Thread Cornelia Huck
On Fri, 11 Oct 2019 13:20:15 +0200 Jens Freimann wrote: > As usual block all vfio-pci devices from being migrated, but make an > exception for failover primary devices. This is achieved by setting > unmigratable to 0 but also add a migration blocker for all vfio-pci > devices except failover

[PATCH v3 10/10] vfio: unplug failover primary device before migration

2019-10-11 Thread Jens Freimann
As usual block all vfio-pci devices from being migrated, but make an exception for failover primary devices. This is achieved by setting unmigratable to 0 but also add a migration blocker for all vfio-pci devices except failover primary devices. These will be unplugged before migration happens by