Re: [PATCH v3 6/9] hvf: add a lock for memory related functions

2022-03-18 Thread Peter Maydell
On Wed, 2 Mar 2022 at 13:04, Yan-Jie Wang wrote: > > We follow how KVM accel does in its memory listener (kvm-all.c) and add > a lock for the memory related functions. Could you outline the race condition or conflicting access that adding this mutex is fixing, please ? thanks -- PMM

[PATCH v3 6/9] hvf: add a lock for memory related functions

2022-03-02 Thread Yan-Jie Wang
We follow how KVM accel does in its memory listener (kvm-all.c) and add a lock for the memory related functions. Signed-off-by: Yan-Jie Wang --- accel/hvf/hvf-mem.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/accel/hvf/hvf-mem.c b/accel/hvf/hvf-mem.c index 896e718374.