summary refs log tree commit diff stats
path: root/hw/net/virtio-net.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2017-02-17 18:39:24 +0100
committerKevin Wolf <kwolf@redhat.com>2017-02-24 16:09:23 +0100
commit5696c6e350be4d7b45b68e8460da1049bc9efe0a (patch)
tree1fdfc351387e6952661e6c529ed2174afc1ecd6e /hw/net/virtio-net.c
parent2d6b86af1496d534f11cf21370345139dce62fcb (diff)
downloadfocaccia-qemu-5696c6e350be4d7b45b68e8460da1049bc9efe0a.tar.gz
focaccia-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 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions