diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-09-18 14:31:44 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-09-19 15:26:31 +0200 |
commit | 125afda8cbd228583c1e7c32c0f86eeb8de39c73 (patch) | |
tree | 03ba980b63821bb760ba4e88722cb8639cafde4f /nbd.h | |
parent | 6b8c01e781524ab713faa31a4fb5b20a745f638a (diff) | |
download | qemu-125afda8cbd228583c1e7c32c0f86eeb8de39c73.tar.gz qemu-125afda8cbd228583c1e7c32c0f86eeb8de39c73.tar.bz2 qemu-125afda8cbd228583c1e7c32c0f86eeb8de39c73.zip |
nbd: add nbd_export_get_blockdev
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'nbd.h')
-rw-r--r-- | nbd.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -85,6 +85,8 @@ void nbd_export_close(NBDExport *exp); void nbd_export_get(NBDExport *exp); void nbd_export_put(NBDExport *exp); +BlockDriverState *nbd_export_get_blockdev(NBDExport *exp); + NBDExport *nbd_export_find(const char *name); void nbd_export_set_name(NBDExport *exp, const char *name); void nbd_export_close_all(void); |