Home
last modified time | relevance | path

Searched hist:bbc8ea98 (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/include/sysemu/
H A Dblock-backend.hbbc8ea98 Thu Sep 29 11:47:03 CDT 2016 Kevin Wolf <kwolf@redhat.com> 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 <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
/openbmc/qemu/block/
H A Dblock-backend.cbbc8ea98 Thu Sep 29 11:47:03 CDT 2016 Kevin Wolf <kwolf@redhat.com> 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 <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>