From f88825680aa71eb4069cdaee9d65f2269f5c7cf3 Mon Sep 17 00:00:00 2001 From: Jes Sorensen Date: Thu, 16 Dec 2010 13:52:16 +0100 Subject: Introduce do_snapshot_blkdev() and monitor command to handle it. The monitor command is: snapshot_blkdev [snapshot-file] [format] Default format is qcow2. For now snapshots without a snapshot-file, eg internal snapshots, are not supported. Signed-off-by: Jes Sorensen Signed-off-by: Kevin Wolf --- blockdev.h | 1 + 1 file changed, 1 insertion(+) (limited to 'blockdev.h') diff --git a/blockdev.h b/blockdev.h index 4cb8ca93d4..4536b5cab1 100644 --- a/blockdev.h +++ b/blockdev.h @@ -52,5 +52,6 @@ int do_block_set_passwd(Monitor *mon, const QDict *qdict, QObject **ret_data); 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_snapshot_blkdev(Monitor *mon, const QDict *qdict, QObject **ret_data); #endif -- cgit v1.2.3