On Tue, Jul 15, 2025 at 03:30:11PM +0100, Daniel P. Berrangé wrote: > We need to call get_event_loop but have no way of knowing ahead > of time whether the current thread has an event loop of not. We
s/of not /or not / > can handle a missing event loop, but we need to hide the warning > python will emit to avoid tripping up iotests expected output. > > Signed-off-by: Daniel P. Berrangé <berra...@redhat.com> > --- > python/qemu/qmp/legacy.py | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake, Principal Software Engineer Red Hat, Inc. Virtualization: qemu.org | libguestfs.org