[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/4] block: Add blk_dev_has_tray()
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH 1/4] block: Add blk_dev_has_tray() |
Date: |
Fri, 15 Jan 2016 09:57:15 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 |
On 01/12/2016 08:47 AM, Max Reitz wrote:
> Pull out the check whether a block device has a tray from
> blk_dev_is_tray_open() into an own function so both attributes (whether
s.an own/its own/
> there is a tray vs. whether that tray is open) can be queried
> independently.
>
> Cc: qemu-stable <address@hidden>
> Signed-off-by: Max Reitz <address@hidden>
> ---
> block/block-backend.c | 10 +++++++++-
> include/block/block_int.h | 1 +
> 2 files changed, 10 insertions(+), 1 deletion(-)
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH 0/4] blockdev: Fix 'change' for slot devices, Max Reitz, 2016/01/12
- [Qemu-devel] [PATCH 1/4] block: Add blk_dev_has_tray(), Max Reitz, 2016/01/12
- [Qemu-devel] [PATCH 2/4] blockdev: Fix 'change' for slot devices, Max Reitz, 2016/01/12
- [Qemu-devel] [PATCH 4/4] block/qapi: Emit tray_open only if there is a tray, Max Reitz, 2016/01/12
- [Qemu-devel] [PATCH 3/4] Revert "hw/block/fdc: Implement tray status", Max Reitz, 2016/01/12
- Re: [Qemu-devel] [PATCH 0/4] blockdev: Fix 'change' for slot devices, Peter Maydell, 2016/01/15