summaryrefslogtreecommitdiff
path: root/blockdev.h
diff options
context:
space:
mode:
authorJes Sorensen <Jes.Sorensen@redhat.com>2010-12-16 13:52:16 +0100
committerKevin Wolf <kwolf@redhat.com>2010-12-17 16:11:03 +0100
commitf88825680aa71eb4069cdaee9d65f2269f5c7cf3 (patch)
treebfe1c1e288f16f716489a27ff8e7df9903204312 /blockdev.h
parentf88e1a4201e31cac0438df395dfcdd45ac35c17d (diff)
downloadqemu-f88825680aa71eb4069cdaee9d65f2269f5c7cf3.tar.gz
qemu-f88825680aa71eb4069cdaee9d65f2269f5c7cf3.tar.bz2
qemu-f88825680aa71eb4069cdaee9d65f2269f5c7cf3.zip
Introduce do_snapshot_blkdev() and monitor command to handle it.
The monitor command is: snapshot_blkdev <device> [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 <Jes.Sorensen@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'blockdev.h')
-rw-r--r--blockdev.h1
1 files changed, 1 insertions, 0 deletions
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