On Wed, 10 Jun 2026 13:34:05 +0100, Daniel P. Berrangé <[email protected]> wrote: > If an 'object_del' command for a QMP monitor arrives targetting the > current monitor, reject this request. If the current monitor is > deleted, it will be impossible to send any reply and the client won't > be able to remove the corresponding chardev backend. > > Note, it is not possible to rely on checking monitor_cur() because > if 'object_del' is called via human-monitor-command, monitor_cur() > will reflect the temporary HMP, not the QMP target that needs to > be checked. > > [...]
Reviewed-by: Marc-André Lureau <[email protected]> -- Marc-André Lureau <[email protected]>
