From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:44342) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TloTE-0007gP-To for qemu-devel@nongnu.org; Thu, 20 Dec 2012 17:20:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TloTB-0002C9-H6 for qemu-devel@nongnu.org; Thu, 20 Dec 2012 17:20:04 -0500 Received: from mx1.redhat.com ([209.132.183.28]:49051) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TloTB-0002Bu-9h for qemu-devel@nongnu.org; Thu, 20 Dec 2012 17:20:01 -0500 Message-ID: <50D38F0B.4040809@redhat.com> Date: Thu, 20 Dec 2012 15:19:55 -0700 From: Eric Blake MIME-Version: 1.0 References: <1355725509-5429-1-git-send-email-xiawenc@linux.vnet.ibm.com> <1355725509-5429-5-git-send-email-xiawenc@linux.vnet.ibm.com> <24E144B8C0207547AD09C467A8259F75578B461B@lisa.maurer-it.com> <50CECBFA.6090000@linux.vnet.ibm.com> <24E144B8C0207547AD09C467A8259F75578B46F4@lisa.maurer-it.com> <50CEDD39.6010803@linux.vnet.ibm.com> <24E144B8C0207547AD09C467A8259F75578B47D6@lisa.maurer-it.com> In-Reply-To: <24E144B8C0207547AD09C467A8259F75578B47D6@lisa.maurer-it.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig8B410EB4EDBF747A40A273FD" Subject: Re: [Qemu-devel] [PATCH 4/6] snapshot: implemention of common API to take snapshots List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Dietmar Maurer Cc: "kwolf@redhat.com" , "aliguori@us.ibm.com" , "stefanha@gmail.com" , "qemu-devel@nongnu.org" , "blauwirbel@gmail.com" , "pbonzini@redhat.com" , Wenchao Xia This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8B410EB4EDBF747A40A273FD Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 12/17/2012 02:58 AM, Dietmar Maurer wrote: >>>>> Seems this makes it impossible to use external commands to make >>>> snapshots? >>>>> >>>> what command? can you tip more about the case? >>> >>> For example, nexenta storage provides an API to create snapshots. We >>> want to use that. Another example would be to use lvcreate to create = lvm >> snapshots. >>> >> I am not familar with those tools, Patch 5 and 6 provides hmp and q= mp API, >> hope you can enlight more what is missing if it can't work with exter= nal tool. >=20 > We need the ability to create snapshots with external tools - your patc= h does not support that. > I think that is a major drawback. I think the ability to create snapshots with external tools is going to require asynchronous snapshots, where the work is divided into several phases. You'll need qemu to prepare for the snapshot, then the external tools to create the snapshot, then resume qemu with possibly different file names as a result of the snapshot being created. I'm certainly interested in seeing what you come up with, and how libvirt will be able to interact with it for external tool snapshots. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enig8B410EB4EDBF747A40A273FD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQEcBAEBCAAGBQJQ048LAAoJEKeha0olJ0NqqDsH/iC6OkxCm5aSHcxBYILnN6Gm RNXDqRibd5doQsU7nf33x+d09ymlYBF7/GkOGYwC5Yep/NP5+Gbeu4TSrGS6+4Fj nt+jPIJ1QJNg+SQP2M8WKYqtfS8lRY+jmk/je7h1uaApbzaJT0mKbncXt9ykYgif 42qlj+851KI89oRkyYgqSzgCxI0JcQdtHWU+oDZA/UHbkEUJm+7NsiJ6Wyzg0HHx VkpksaBKXuE9+kOW47lkH9YtP80gYxeUDxvectO+iiKgQIiYDfstj7+PRIaIp9pG YaaQwjX+YbK9ysqQcQknGDgFl4bIz9HvVY3v4iTePOtmFX0b8I2VPbwEJ01yUok= =Zda5 -----END PGP SIGNATURE----- --------------enig8B410EB4EDBF747A40A273FD--