From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAb4H-0002F1-Kr for qemu-devel@nongnu.org; Mon, 12 Jan 2015 04:13:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YAb4B-0006gg-GU for qemu-devel@nongnu.org; Mon, 12 Jan 2015 04:13:49 -0500 Received: from mx1.redhat.com ([209.132.183.28]:38250) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAb4B-0006gU-93 for qemu-devel@nongnu.org; Mon, 12 Jan 2015 04:13:43 -0500 Message-ID: <54B3903D.30806@redhat.com> Date: Mon, 12 Jan 2015 10:13:33 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <201501121549354944503@sangfor.com.cn> <201501121615383625062@sangfor.com.cn> In-Reply-To: <201501121615383625062@sangfor.com.cn> Content-Type: text/plain; charset=gbk Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] How to clone a running vm? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Zhang Haoyu , qemu-devel Cc: Fam Zheng , Stefan Hajnoczi On 12/01/2015 09:15, Zhang Haoyu wrote: > > I want to clone a running vm without shutoff, > > can below method work? > > 1) create a snapshot for the vm > > 2) create a new qcow2 image from the snapshot, but how? > > 3) use the new qcow2 image as backing image to clone vms > > Can drive_mirror clone a running vm without guest service disruption? Yes. Paolo