On Tue, Dec 20, 2011 at 06:55:19PM +0800, ¤終於aware wrote:
> Hi,
>      how to save the current state of the running vm as a file and restore 
> the last running state later by using the file as a arg of qemu cmd line?

  BTW, make sure your root file system's format support snapshot. For example,
if you have a ext2 root file system "rootfs.ext2", convert it to qcow2 format
by using qemu-img.

  $ qemu-img convert -O qcow2 rootfs.ext2 rootfs.qcow2

Regards,
chenwj

-- 
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj

Reply via email to