|
From: | Alberto Garcia |
Subject: | Re: [Qemu-block] [PATCH v3 05/38] block: Add blk_is_available() |
Date: | Thu, 04 Jun 2015 14:22:33 +0200 |
User-agent: | Notmuch/0.13.2 (http://notmuchmail.org) Emacs/23.2.1 (i486-pc-linux-gnu) |
On Wed 03 Jun 2015 09:43:46 PM CEST, Max Reitz wrote: > blk_is_available() returns true iff the BDS is inserted (which means > blk_bs() is not NULL and bdrv_is_inserted() returns true) and if the > tray of the guest device is closed. > > blk_is_inserted() is changed to return true only if blk_bs() is not > NULL. > > Signed-off-by: Max Reitz <address@hidden> > Reviewed-by: Eric Blake <address@hidden> Reviewed-by: Alberto Garcia <address@hidden> Berto
[Prev in Thread] | Current Thread | [Next in Thread] |