diff options
author | Kevin Wolf <kwolf@redhat.com> | 2017-02-17 18:39:24 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2017-02-24 16:09:23 +0100 |
commit | 5696c6e350be4d7b45b68e8460da1049bc9efe0a (patch) | |
tree | 1fdfc351387e6952661e6c529ed2174afc1ecd6e /bsd-user | |
parent | 2d6b86af1496d534f11cf21370345139dce62fcb (diff) | |
download | qemu-5696c6e350be4d7b45b68e8460da1049bc9efe0a.zip qemu-5696c6e350be4d7b45b68e8460da1049bc9efe0a.tar.gz qemu-5696c6e350be4d7b45b68e8460da1049bc9efe0a.tar.bz2 |
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 'bsd-user')
0 files changed, 0 insertions, 0 deletions