[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v6 for 2.1 02/10] block: add helper function to
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH v6 for 2.1 02/10] block: add helper function to determine if a BDS is in a chain |
Date: |
Thu, 19 Jun 2014 14:27:15 +0800 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Tue, Jun 17, 2014 at 05:53:50PM -0400, Jeff Cody wrote:
> This is a small helper function, to determine if 'base' is in the
> chain of BlockDriverState 'top'. It returns true if it is in the chain,
> and false otherwise.
>
> If either argument is NULL, it will also return false.
>
> Reviewed-by: Benoit Canet <address@hidden>
> Reviewed-by: Eric Blake <address@hidden>
> Signed-off-by: Jeff Cody <address@hidden>
> ---
> block.c | 11 +++++++++++
> include/block/block.h | 1 +
> 2 files changed, 12 insertions(+)
Reviewed-by: Stefan Hajnoczi <address@hidden>
pgp8xhFGuZsSr.pgp
Description: PGP signature
[Qemu-devel] [PATCH v6 for 2.1 02/10] block: add helper function to determine if a BDS is in a chain, Jeff Cody, 2014/06/17
[Qemu-devel] [PATCH v6 for 2.1 03/10] block: simplify bdrv_find_base() and bdrv_find_overlay(), Jeff Cody, 2014/06/17
[Qemu-devel] [PATCH v6 for 2.1 04/10] block: make 'top' argument to block-commit optional, Jeff Cody, 2014/06/17
[Qemu-devel] [PATCH v6 for 2.1 05/10] block: Accept node-name arguments for block-commit, Jeff Cody, 2014/06/17
[Qemu-devel] [PATCH v6 for 2.1 06/10] block: extend block-commit to accept a string for the backing file, Jeff Cody, 2014/06/17