qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 3/4] blockdev: Convert bdrv_find to blk_by_name


From: Max Reitz
Subject: Re: [Qemu-devel] [PATCH 3/4] blockdev: Convert bdrv_find to blk_by_name
Date: Mon, 02 Mar 2015 10:48:43 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

On 2015-03-02 at 06:36, Fam Zheng wrote:
Signed-off-by: Fam Zheng <address@hidden>
---
  blockdev.c | 92 ++++++++++++++++++++++++++++++++++++++++----------------------
  1 file changed, 59 insertions(+), 33 deletions(-)

I think I touched the same problem in my "BB and media" series, and I think I replaced the bdrv_get_aio_context() calls by blk_get_aio_context() (because it looked nicer to me to call blk_bs() only after the AIO context has been acquired).

However, at least before that series it is not possible to change the BDS attached to a BB while the BB is already in use in another AIO context, so:

Reviewed-by: Max Reitz <address@hidden>



reply via email to

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