]> git.proxmox.com Git - mirror_qemu.git/commit
memory: stricter checks prior to unsetting engaged_in_io
authorAlexander Bulekov <alxndr@bu.edu>
Tue, 16 May 2023 08:40:02 +0000 (04:40 -0400)
committerThomas Huth <thuth@redhat.com>
Mon, 22 May 2023 08:35:28 +0000 (10:35 +0200)
commit3884bf6468ac6bbb58c2b3feaa74e87f821b52f3
treeae8a8f00443a884a1ff28ebdd8ae68711f792180
parent1afae3b8813023c32eaaf422af39c402b0f1930a
memory: stricter checks prior to unsetting engaged_in_io

engaged_in_io could be unset by an MR with re-entrancy checks disabled.
Ensure that only MRs that can set the engaged_in_io flag can unset it.

Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
Message-Id: <20230516084002.3813836-1-alxndr@bu.edu>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
softmmu/memory.c