qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] block: do not try to list nearly-dropped filters
@ 2023-09-14 11:09 Andrey Zhadchenko via
  2023-09-14 11:09 ` [PATCH 1/2] " Andrey Zhadchenko via
  2023-09-14 11:09 ` [PATCH 2/2] iotests: add new test case for image streaming Andrey Zhadchenko via
  0 siblings, 2 replies; 3+ messages in thread
From: Andrey Zhadchenko via @ 2023-09-14 11:09 UTC (permalink / raw)
  To: qemu-block, kwolf; +Cc: hreitz, qemu-devel, den

QEMU crashes on QMP command 'query-named-block-nodes' if we have
finalized but not dismissed block job with filter, for example
block-stream.
This happens because the filter no longer has references from which
QEMU can query block info. Skip such filters while listing block nodes.

This patchset also adds simple test for this case.

Andrey Zhadchenko (2):
  block: do not try to list nearly-dropped filters
  iotests: add new test case for image streaming

 block.c                    |  7 +++++--
 block/qapi.c               |  5 +++++
 tests/qemu-iotests/030     | 17 +++++++++++++++++
 tests/qemu-iotests/030.out |  4 ++--
 4 files changed, 29 insertions(+), 4 deletions(-)

-- 
2.40.1



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-09-14 11:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-14 11:09 [PATCH 0/2] block: do not try to list nearly-dropped filters Andrey Zhadchenko via
2023-09-14 11:09 ` [PATCH 1/2] " Andrey Zhadchenko via
2023-09-14 11:09 ` [PATCH 2/2] iotests: add new test case for image streaming Andrey Zhadchenko via

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).