Re: [Qemu-devel] [PATCH v2 0/2] migration: fix virtio-rng

2017-04-17 Thread Amit Shah
On (Wed) 12 Apr 2017 [15:53:10], Laurent Vivier wrote: > When post-copy migration is enabled, the destination > guest can ask for memory from the source when the > vmstate is restored. > > In the case of virtio, a part of the virtqueue > is migrated by the vmstate structure (last_avail_idx) > anot

Re: [Qemu-devel] [PATCH v2 0/2] migration: fix virtio-rng

2017-04-13 Thread Stefan Hajnoczi
On Wed, Apr 12, 2017 at 03:53:10PM +0200, Laurent Vivier wrote: > When post-copy migration is enabled, the destination > guest can ask for memory from the source when the > vmstate is restored. > > In the case of virtio, a part of the virtqueue > is migrated by the vmstate structure (last_avail_id

[Qemu-devel] [PATCH v2 0/2] migration: fix virtio-rng

2017-04-12 Thread Laurent Vivier
When post-copy migration is enabled, the destination guest can ask for memory from the source when the vmstate is restored. In the case of virtio, a part of the virtqueue is migrated by the vmstate structure (last_avail_idx) another part is migrated inside the RAM (used_idx). On the source side, t