diff options
author | 2017-02-17 18:39:24 +0100 | |
---|---|---|
committer | 2017-02-24 16:09:23 +0100 | |
commit | 5696c6e350be4d7b45b68e8460da1049bc9efe0a (patch) | |
tree | 1fdfc351387e6952661e6c529ed2174afc1ecd6e /scripts/qapi-commands.py | |
parent | block: Factor out bdrv_open_child_bs() (diff) | |
download | qemu-5696c6e350be4d7b45b68e8460da1049bc9efe0a.tar.xz qemu-5696c6e350be4d7b45b68e8460da1049bc9efe0a.zip |
block: Use BlockBackend for image probing
This fixes the use of a parent-less BdrvChild in bdrv_open_inherit() by
converting it into a BlockBackend. Which is exactly what it should be,
image probing is an external, standalone user of a node. The requests
can't be considered to originate from the format driver node because
that one isn't even opened yet.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions