]> git.proxmox.com Git - qemu.git/commit - blockdev.h
Introduce do_snapshot_blkdev() and monitor command to handle it.
authorJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 16 Dec 2010 12:52:16 +0000 (13:52 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 17 Dec 2010 15:11:03 +0000 (16:11 +0100)
commitf88825680aa71eb4069cdaee9d65f2269f5c7cf3
treebfe1c1e288f16f716489a27ff8e7df9903204312
parentf88e1a4201e31cac0438df395dfcdd45ac35c17d
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>
blockdev.c
blockdev.h
hmp-commands.hx