From 333a96ec9fd08eaa03f8de1acc41a2851ccb8096 Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Thu, 8 Dec 2011 11:13:50 -0200 Subject: qapi: Convert change Signed-off-by: Anthony Liguori Signed-off-by: Luiz Capitulino --- blockdev.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'blockdev.h') diff --git a/blockdev.h b/blockdev.h index 1937b281c9..b077449dcd 100644 --- a/blockdev.h +++ b/blockdev.h @@ -11,6 +11,7 @@ #define BLOCKDEV_H #include "block.h" +#include "error.h" #include "qemu-queue.h" void blockdev_mark_auto_del(BlockDriverState *bs); @@ -57,9 +58,9 @@ DriveInfo *drive_init(QemuOpts *arg, int default_to_scsi); DriveInfo *add_init_drive(const char *opts); +void qmp_change_blockdev(const char *device, const char *filename, + bool has_format, const char *format, Error **errp); void do_commit(Monitor *mon, const QDict *qdict); -int do_change_block(Monitor *mon, const char *device, - const char *filename, const char *fmt); int do_drive_del(Monitor *mon, const QDict *qdict, QObject **ret_data); int do_block_set_io_throttle(Monitor *mon, const QDict *qdict, QObject **ret_data); -- cgit v1.2.3