qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 04/25] include/sysemu/block-backend: split header into I/O


From: Stefan Hajnoczi
Subject: Re: [PATCH v3 04/25] include/sysemu/block-backend: split header into I/O and global state (GS) API
Date: Thu, 21 Oct 2021 15:28:57 +0100

On Tue, Oct 12, 2021 at 04:48:45AM -0400, Emanuele Giuseppe Esposito wrote:
> Similarly to the previous patches, split block-backend.h
> in block-backend-io.h and block-backend-global-state.h
> 
> In addition, remove "block/block.h" include as it seems
> it is not necessary anymore, together with "qemu/iov.h"
> 
> block-backend-common.h contains the structures shared between
> the two headers, and the functions that can't be categorized as
> I/O or global state.
> 
> Assertions are added in the next patch.
> 
> Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
> ---
>  block/block-backend.c                       |   9 +-
>  include/sysemu/block-backend-common.h       |  74 ++++++
>  include/sysemu/block-backend-global-state.h | 122 +++++++++
>  include/sysemu/block-backend-io.h           | 134 ++++++++++
>  include/sysemu/block-backend.h              | 264 +-------------------
>  5 files changed, 339 insertions(+), 264 deletions(-)
>  create mode 100644 include/sysemu/block-backend-common.h
>  create mode 100644 include/sysemu/block-backend-global-state.h
>  create mode 100644 include/sysemu/block-backend-io.h

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]