Re: [PATCH v3 5/7] implementation of vm_start() BH

2020-11-20 Thread Andrey Gruzdev
On 19.11.2020 21:46, Peter Xu wrote: On Thu, Nov 19, 2020 at 03:59:38PM +0300, Andrey Gruzdev wrote: To avoid saving updated versions of memory pages we need to start tracking RAM writes before we resume operation of vCPUs. This sequence is especially critical for virtio device backends whos VQs

Re: [PATCH v3 5/7] implementation of vm_start() BH

2020-11-19 Thread Peter Xu
On Thu, Nov 19, 2020 at 03:59:38PM +0300, Andrey Gruzdev wrote: > To avoid saving updated versions of memory pages we need > to start tracking RAM writes before we resume operation of > vCPUs. This sequence is especially critical for virtio device > backends whos VQs are mapped to main memory and a

[PATCH v3 5/7] implementation of vm_start() BH

2020-11-19 Thread Andrey Gruzdev via
To avoid saving updated versions of memory pages we need to start tracking RAM writes before we resume operation of vCPUs. This sequence is especially critical for virtio device backends whos VQs are mapped to main memory and accessed directly not using MMIO callbacks. One problem is that vm_start