diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-08-22 18:50:30 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-09-19 15:26:15 +0200 |
commit | a4aab7b4cb2d994e17c987d7d3fb2b6645ea92a2 (patch) | |
tree | 1d934cadde78274487738f1b8d7882c949a34daf /nbd.c | |
parent | 9a304d29a79a3daeeaf15c68d7439713037405b1 (diff) |
nbd: do not close BlockDriverState in nbd_export_close
This is not desirable when embedding the NBD server inside QEMU.
Move the bdrv_close to qemu-nbd.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'nbd.c')
-rw-r--r-- | nbd.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -721,7 +721,6 @@ void nbd_export_close(NBDExport *exp) g_free(first); } - bdrv_close(exp->bs); g_free(exp); } |