[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] block: Remove blk_attach_dev_legacy() / lega
From: |
Stefano Garzarella |
Subject: |
Re: [Qemu-devel] [PATCH v2] block: Remove blk_attach_dev_legacy() / legacy_dev code |
Date: |
Wed, 23 Jan 2019 10:48:37 +0100 |
User-agent: |
NeoMutt/20180716 |
On Wed, Jan 23, 2019 at 09:56:01AM +0100, Thomas Huth wrote:
> The last user of blk_attach_dev_legacy() was the code in xen_disk which
> has recently been reworked. Now there is no user for this legacy function
> anymore. Thus we can finally remove all code related to the "legacy_dev"
> flag, too, and turn the related "void *" in block-backend.c into proper
> "DeviceState *" to fix some of the remaining TODOs there.
>
> Signed-off-by: Thomas Huth <address@hidden>
> ---
> v2: xen_disk.c is gone, no need to update it anymore
>
> block/block-backend.c | 54
> +++++++-----------------------------------
> include/sysemu/block-backend.h | 5 ++--
> 2 files changed, 11 insertions(+), 48 deletions(-)
>
Reviewed-by: Stefano Garzarella <address@hidden>