diff options
author | Kevin Wolf <kwolf@redhat.com> | 2017-07-11 13:26:59 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2017-07-18 15:14:35 +0200 |
commit | 77beef8365ef797c95e49d87f07ed5d60d583594 (patch) | |
tree | 82b27af9a66e7ffe6fc27c5c8b7a02fabd5a8ded /include/sysemu | |
parent | cfc87e00c22ab4ea0262c9771c803ed03d754001 (diff) | |
download | qemu-77beef8365ef797c95e49d87f07ed5d60d583594.zip qemu-77beef8365ef797c95e49d87f07ed5d60d583594.tar.gz qemu-77beef8365ef797c95e49d87f07ed5d60d583594.tar.bz2 |
block: Make blk_get_attached_dev_id() public
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'include/sysemu')
-rw-r--r-- | include/sysemu/block-backend.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sysemu/block-backend.h b/include/sysemu/block-backend.h index d9ea0cd..fe47799 100644 --- a/include/sysemu/block-backend.h +++ b/include/sysemu/block-backend.h @@ -126,6 +126,7 @@ int blk_attach_dev(BlockBackend *blk, DeviceState *dev); void blk_attach_dev_legacy(BlockBackend *blk, void *dev); void blk_detach_dev(BlockBackend *blk, void *dev); void *blk_get_attached_dev(BlockBackend *blk); +char *blk_get_attached_dev_id(BlockBackend *blk); BlockBackend *blk_by_dev(void *dev); BlockBackend *blk_by_qdev_id(const char *id, Error **errp); void blk_set_dev_ops(BlockBackend *blk, const BlockDevOps *ops, void *opaque); |