diff options
Diffstat (limited to 'hmp.c')
-rw-r--r-- | hmp.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -34,6 +34,7 @@ #include "qapi-visit.h" #include "qom/object_interfaces.h" #include "ui/console.h" +#include "block/nbd.h" #include "block/qapi.h" #include "qemu-io.h" #include "qemu/cutils.h" @@ -2121,7 +2122,7 @@ void hmp_nbd_server_start(Monitor *mon, const QDict *qdict) goto exit; } - qmp_nbd_server_start(addr, false, NULL, &local_err); + nbd_server_start(addr, NULL, &local_err); qapi_free_SocketAddress(addr); if (local_err != NULL) { goto exit; |