diff options
author | Max Reitz <mreitz@redhat.com> | 2016-01-29 16:36:09 +0100 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:30:22 -0600 |
commit | cc8c10987d56d1ce9e05dd63bf8703c06864fa1c (patch) | |
tree | 3f7ef67ff6875cdf8221f95b33bba18a0cdca362 /blockdev.c | |
parent | c50d38c102a464b432c4fa770e8dcb21c1bc7029 (diff) | |
download | hqemu-cc8c10987d56d1ce9e05dd63bf8703c06864fa1c.zip hqemu-cc8c10987d56d1ce9e05dd63bf8703c06864fa1c.tar.gz |
blockdev: Use blk_remove_bs() in do_drive_del()
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'blockdev.c')
-rw-r--r-- | blockdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2792,7 +2792,7 @@ void hmp_drive_del(Monitor *mon, const QDict *qdict) return; } - bdrv_close(bs); + blk_remove_bs(blk); } /* if we have a device attached to this BlockDriverState |