]> Git Repo - qemu.git/commit - include/sysemu/block-backend.h
block-backend: Remember if attached device is non-qdev
authorKevin Wolf <[email protected]>
Thu, 29 Sep 2016 16:47:03 +0000 (18:47 +0200)
committerKevin Wolf <[email protected]>
Fri, 7 Oct 2016 11:34:22 +0000 (13:34 +0200)
commitbbc8ea98bc8a2ba8174d106184f3089248d5ec5d
tree1495f8f2dcfe8279cadb7243ad1b9a4ec69231a2
parent2bf7e10f78ebf67fbef364dce37ae844ba3c7a62
block-backend: Remember if attached device is non-qdev

Almost all block devices are qdevified by now. This allows us to go back
from the BlockBackend to the DeviceState. xen_disk is the last device
that is missing. We'll remember in the BlockBackend if a xen_disk is
attached and can then disable any features that require going from a BB
to the DeviceState.

While at it, clearly mark the function used by xen_disk as legacy even
in its name, not just in TODO comments.

Signed-off-by: Kevin Wolf <[email protected]>
Reviewed-by: Max Reitz <[email protected]>
block/block-backend.c
hw/block/xen_disk.c
include/sysemu/block-backend.h
This page took 0.02734 seconds and 4 git commands to generate.