[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] cow: use bdrv_co_is_allocated()
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH v2] cow: use bdrv_co_is_allocated() |
Date: |
Wed, 23 Nov 2011 17:08:03 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0 |
Am 23.11.2011 16:00, schrieb Stefan Hajnoczi:
> Now that bdrv_co_is_allocated() is available we can use it instead of
> the synchronous bdrv_is_allocated() interface. This is a follow-up that
> Kevin Wolf <address@hidden> pointed out after applying the series that
> introduces bdrv_co_is_allocated().
>
> It is safe to make cow_read() a coroutine_fn because its only caller is
> a coroutine_fn.
>
> Signed-off-by: Stefan Hajnoczi <address@hidden>
Thanks, applied to the block branch (for 1.1)
Kevin