aboutsummaryrefslogtreecommitdiff
path: root/block.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-03 13:41:03 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-03 13:41:03 +0000
commit75818250ba0f61d9e3008b11d8c63b7b46d80ba2 (patch)
tree10fdb06f655d82a6372bf918338f3de086895452 /block.c
parent3b05a8e91bf15e1858f3f3618069dbc78e55b88e (diff)
downloadqemu-75818250ba0f61d9e3008b11d8c63b7b46d80ba2.zip
qemu-75818250ba0f61d9e3008b11d8c63b7b46d80ba2.tar.gz
qemu-75818250ba0f61d9e3008b11d8c63b7b46d80ba2.tar.bz2
Allow QEMU to connect directly to an NBD server, by Laurent Vivier.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4838 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'block.c')
-rw-r--r--block.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block.c b/block.c
index 2aaefe8..544176f 100644
--- a/block.c
+++ b/block.c
@@ -1332,6 +1332,7 @@ void bdrv_init(void)
bdrv_register(&bdrv_vvfat);
bdrv_register(&bdrv_qcow2);
bdrv_register(&bdrv_parallels);
+ bdrv_register(&bdrv_nbd);
}
void *qemu_aio_get(BlockDriverState *bs, BlockDriverCompletionFunc *cb,