]> git.proxmox.com Git - mirror_qemu.git/commit
rcu: Implement drain_call_rcu
authorMaxim Levitsky <mlevitsk@redhat.com>
Tue, 15 Sep 2020 12:12:53 +0000 (20:12 +0800)
committerThomas Huth <thuth@redhat.com>
Wed, 16 Sep 2020 06:41:06 +0000 (08:41 +0200)
commitd816614ca4f5af89a2b6d50ac840d7b77973f2fc
treeca8fa5ba39803633e1237829e2490a6ccfa63701
parent37d98abdc77cfbd158b453d22629e5c7d020c878
rcu: Implement drain_call_rcu

This will allow is to preserve the semantics of hmp_device_del,
that the device is deleted immediatly which was changed by previos
patch that delayed this to RCU callback

Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Suggested-by: Stefan Hajnoczi <stefanha@gmail.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20200915121318.247-2-luoyonggang@gmail.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
include/qemu/rcu.h
util/rcu.c