This patch fix the snapshoting code. When initially testing block filter snapshots patches and quorum I used a wrong quorum command line which containned an extra top level "file."
As a result quorum was encapsulated in a top level bs. This caused me to write and test against the wrong configuration and break snapshot. This patch implement Kevin sugestion for the fix. I tested snapshot of a Blockbackend: ex virtio0 ok snapshot of a quorum file instantiated in the command line. ok snapshot of a quorum file instantiated via blockdev_add by references ok snapshot of a quorum file instianciated via blockdev without references ok A comment update for quorum will be needed to avoid user to use the wrong command line. Benoît Canet (1): block: Fix device snapshots broken by the block filter snapshots patchset. block.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) -- 1.8.3.2