Re: [RFC PATCH 02/27] vhost: Add device callback in vhost_migration_log

2020-12-09 Thread Eugenio Perez Martin
On Mon, Dec 7, 2020 at 5:19 PM Stefan Hajnoczi wrote: > > On Fri, Nov 20, 2020 at 07:50:40PM +0100, Eugenio Pérez wrote: > > This allows code to reuse the logic to not to re-enable or re-disable > > migration mechanisms. Code works the same way as before. > > > > Signed-off-by: Eugenio Pérez > >

Re: [RFC PATCH 02/27] vhost: Add device callback in vhost_migration_log

2020-12-07 Thread Stefan Hajnoczi
On Fri, Nov 20, 2020 at 07:50:40PM +0100, Eugenio Pérez wrote: > This allows code to reuse the logic to not to re-enable or re-disable > migration mechanisms. Code works the same way as before. > > Signed-off-by: Eugenio Pérez > --- > hw/virtio/vhost.c | 12 +++- > 1 file changed, 7 inse

[RFC PATCH 02/27] vhost: Add device callback in vhost_migration_log

2020-11-20 Thread Eugenio Pérez
This allows code to reuse the logic to not to re-enable or re-disable migration mechanisms. Code works the same way as before. Signed-off-by: Eugenio Pérez --- hw/virtio/vhost.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/hw/virtio/vhost.c b/hw/virtio/vhost.c