Re: [PATCH] KVM: use store-release to mark dirty pages as harvested

2022-09-06 Thread Gavin Shan
On 9/2/22 10:19 AM, Paolo Bonzini wrote: The following scenario can happen if QEMU sets more RESET flags while the KVM_RESET_DIRTY_RINGS ioctl is ongoing on another host CPU: CPU0 CPU1 CPU2 -- --

Re: [PATCH] KVM: use store-release to mark dirty pages as harvested

2022-09-04 Thread Philippe Mathieu-Daudé via
On 2/9/22 02:19, Paolo Bonzini wrote: The following scenario can happen if QEMU sets more RESET flags while the KVM_RESET_DIRTY_RINGS ioctl is ongoing on another host CPU: CPU0 CPU1 CPU2 -- -

Re: [PATCH] KVM: use store-release to mark dirty pages as harvested

2022-09-02 Thread Peter Xu
On Fri, Sep 02, 2022 at 02:19:36AM +0200, Paolo Bonzini wrote: > The following scenario can happen if QEMU sets more RESET flags while > the KVM_RESET_DIRTY_RINGS ioctl is ongoing on another host CPU: > > CPU0 CPU1 CPU2 > -

[PATCH] KVM: use store-release to mark dirty pages as harvested

2022-09-01 Thread Paolo Bonzini
The following scenario can happen if QEMU sets more RESET flags while the KVM_RESET_DIRTY_RINGS ioctl is ongoing on another host CPU: CPU0 CPU1 CPU2 --