Re: [PATCH v1 1/2] monitor: move monitor destruction to the very end of qemu cleanup

2021-11-25 Thread Markus Armbruster
Denis Plotnikov writes: > This is needed to keep sending DEVICE_DELETED events on qemu cleanup. > The event may happen in the rcu thread and we're going to flush the rcu queue > explicitly before qemu exiting in the next patch. So move the monitor > destruction to the very end of qemu cleanup to

[PATCH v1 1/2] monitor: move monitor destruction to the very end of qemu cleanup

2021-11-15 Thread Denis Plotnikov
This is needed to keep sending DEVICE_DELETED events on qemu cleanup. The event may happen in the rcu thread and we're going to flush the rcu queue explicitly before qemu exiting in the next patch. So move the monitor destruction to the very end of qemu cleanup to be able to send all the events.