[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-block] does blk_commit_all need blk_all_next?

From: Paolo Bonzini
Subject: [Qemu-block] does blk_commit_all need blk_all_next?
Date: Mon, 24 Oct 2016 10:45:07 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0

blk_commit_all is in block/block-backend.c only because it uses
blk_all_next.  This is also the only reason why it needs a stub

The only difference between blk_next and blk_all_next is that the latter
"iterates over all BlockBackends, even the ones which are hidden (i.e.
are not referenced by the monitor)".  Should blk_commit_all really
iterate over BlockBackends such as the NBD server or the block jobs'?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]