qmp: add NBD server commands
commit6dd844db4a49a367cc15cd0e8bfb72cfc6652766
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 22 Aug 2012 14:43:07 +0000 (22 16:43 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 23 Oct 2012 20:39:33 +0000 (23 22:39 +0200)
tree5a3a8ef535d4055ee0ec62a1cf6edb6c8a34ff9b
parentd7d512f60979681c27597f1b1277e03505c1de08
qmp: add NBD server commands

Adding an NBD server inside QEMU is trivial, since all the logic is
in nbd.c and can be shared easily between qemu-nbd and QEMU itself.
The main difference is that qemu-nbd serves a single unnamed export,
while QEMU serves named exports.

Acked-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Makefile.objs
blockdev-nbd.c [new file with mode: 0644]
qapi-schema.json
qmp-commands.hx