qemu-patch-raspberry4/include/block
Max Reitz 8f3a73bc57 block: Add blk_dev_has_tray()
Pull out the check whether a block device has a tray from
blk_dev_is_tray_open() into its own function so both attributes (whether
there is a tray vs. whether that tray is open) can be queried
independently.

Cc: qemu-stable <qemu-stable@nongnu.org>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Message-id: 1454096953-31773-2-git-send-email-mreitz@redhat.com
2016-02-02 17:46:56 +01:00
..
accounting.h block: Update copyright of the accounting code 2015-11-12 16:22:47 +01:00
aio.h aio: Introduce aio-epoll.c 2015-11-09 09:59:47 +00:00
block.h block: Inactivate BDS when migration completes 2016-01-20 13:36:23 +01:00
block_int.h block: Add blk_dev_has_tray() 2016-02-02 17:46:56 +01:00
blockjob.h block: Add block job transactions 2015-11-12 16:22:44 +01:00
nbd.h nbd: Always call "close_fn" in nbd_client_new 2016-01-15 18:58:01 +01:00
qapi.h qmp: fill in the image field in BlockDeviceInfo 2015-04-28 15:36:09 +02:00
scsi.h typofixes - v4 2015-09-11 10:45:43 +03:00
snapshot.h migration: implement bdrv_all_find_vmstate_bs helper 2015-11-19 11:50:00 +01:00
thread-pool.h block: Rename BlockDriverCompletionFunc to BlockCompletionFunc 2014-10-20 13:41:27 +02:00
throttle-groups.h throttle: Remove throttle_group_lock/unlock() 2015-10-23 18:18:23 +02:00
write-threshold.h block: add event when disk usage exceeds threshold 2015-02-06 17:24:21 +01:00