diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-05-28 16:17:09 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2015-07-02 09:20:18 +0100 |
commit | 126b8bbdfe8bc4042f13f230a4b36f90646f47c6 (patch) | |
tree | cb528be8dbafad9a26c423f36f6f3639081b14c0 /include/qemu | |
parent | 4b80ab2b7d950d5b22647b364e37eb81c756f061 (diff) | |
download | qemu-126b8bbdfe8bc4042f13f230a4b36f90646f47c6.zip qemu-126b8bbdfe8bc4042f13f230a4b36f90646f47c6.tar.gz qemu-126b8bbdfe8bc4042f13f230a4b36f90646f47c6.tar.bz2 |
blockdev: no need to drain+flush in hmp_drive_del
bdrv_close already does that, and in fact hmp_drive_del would need
another drain after the flush (which bdrv_close does). So remove
the duplication.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1432822629-25401-1-git-send-email-pbonzini@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/qemu')
0 files changed, 0 insertions, 0 deletions