Re: [PATCH 1/4] net/virtio: fix dev_unplug_pending

2019-11-20 Thread Michael S. Tsirkin
On Thu, Nov 14, 2019 at 03:16:10PM +0100, Jens Freimann wrote: > .dev_unplug_pending is set up by virtio-net code indepent of whether > failover=on was set for the device or not. This gives a wrong result when > we check for existing primary devices in migration code. > > Fix this by actually call

[PATCH 1/4] net/virtio: fix dev_unplug_pending

2019-11-14 Thread Jens Freimann
.dev_unplug_pending is set up by virtio-net code indepent of whether failover=on was set for the device or not. This gives a wrong result when we check for existing primary devices in migration code. Fix this by actually calling dev_unplug_pending() instead of just checking if the function pointer