]> git.ipfire.org Git - thirdparty/qemu.git/commit
block: Don't attach inactive child to active node
authorKevin Wolf <kwolf@redhat.com>
Tue, 4 Feb 2025 21:13:56 +0000 (22:13 +0100)
committerKevin Wolf <kwolf@redhat.com>
Thu, 6 Feb 2025 13:26:51 +0000 (14:26 +0100)
commit9b81361aedcc47905de5e91f68221de89c6f5467
tree6d76f9415351c5a98e64fa38d1f8611c88f82ff8
parentc2a189976e211c9ff782538d5a5ed5e5cffeccd6
block: Don't attach inactive child to active node

An active node makes unrestricted use of its children and would possibly
run into assertion failures when it operates on an inactive child node.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Acked-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-ID: <20250204211407.381505-6-kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c