Received: from eggs.gnu.org ([140.186.70.92]:35654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rcyty-0006G0-DO for qemu-devel@nongnu.org; Tue, 20 Dec 2011 07:34:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rcytq-0004hB-4R for qemu-devel@nongnu.org; Tue, 20 Dec 2011 07:34:38 -0500 Received: from csmailer.cs.nctu.edu.tw ([140.113.235.130]:33675) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rcytp-0004gf-Gd for qemu-devel@nongnu.org; Tue, 20 Dec 2011 07:34:30 -0500 Date: Tue, 20 Dec 2011 20:34:24 +0800 From: =?utf-8?B?6Zmz6Z+L5Lu7?= Message-ID: <20111220123423.GA32593@cs.nctu.edu.tw> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Do vm snapshot feature exist in qemu as in VMware List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?B?wqTntYLmlrxhd2FyZQ==?= <250716708@qq.com> Cc: qemu-devel On Tue, Dec 20, 2011 at 06:55:19PM +0800, =C2=A4=E7=B5=82=E6=96=BCaware w= rote: > Hi, > how to save the current state of the running vm as a file and rest= ore the last running state later by using the file as a arg of qemu cmd l= ine? BTW, make sure your root file system's format support snapshot. For exa= mple, if you have a ext2 root file system "rootfs.ext2", convert it to qcow2 fo= rmat by using qemu-img. $ qemu-img convert -O qcow2 rootfs.ext2 rootfs.qcow2 Regards, chenwj --=20 Wei-Ren Chen (=E9=99=B3=E9=9F=8B=E4=BB=BB) 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