From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:51003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkAmh-0005vp-KP for qemu-devel@nongnu.org; Fri, 22 Jul 2011 04:08:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QkAmg-0003P4-DC for qemu-devel@nongnu.org; Fri, 22 Jul 2011 04:08:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:13499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkAmg-0003Oz-2c for qemu-devel@nongnu.org; Fri, 22 Jul 2011 04:08:34 -0400 Message-ID: <4E29309E.7070305@redhat.com> Date: Fri, 22 Jul 2011 10:11:10 +0200 From: Kevin Wolf MIME-Version: 1.0 References: <4E2055AE.8090107@redhat.com> <4E253136.4080509@redhat.com> <4E258635.2040108@redhat.com> <4E258D70.6000205@redhat.com> <4E25902D.2000403@redhat.com> <4E2593B0.1030508@redhat.com> <4E2594FB.4050203@redhat.com> <4E25AD51.4000802@codemonkey.ws> <4E269101.8030904@redhat.com> <4E26A767.8090101@redhat.com> <4E26D735.7050507@redhat.com> <4E26DD5B.9010703@redhat.com> <4E292893.8010005@redhat.com> In-Reply-To: <4E292893.8010005@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] live snapshot wiki updated List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Stefan Hajnoczi , "libvir-list@redhat.com" , Jes Sorensen , QEMU Developers , Stefan Hajnoczi , Eric Blake Am 22.07.2011 09:36, schrieb Avi Kivity: > On 07/20/2011 04:51 PM, Kevin Wolf wrote: >>> >>> The problem is that QEMU will find backing file file names inside the >>> images which it will be unable to open. How do you suggest we get around >>> that? >> >> This is the part with allowing libvirt to override the backing file. Of >> course, this is not something that we can add with five lines of code, >> it requires -blockdev. > > It can be done without blockdev. Have a dictionary that translates > filenames, and populate it from the command line (for a bonus, translate > a filename to a file descriptor inherited from the caller or passed via > the monitor). Sure, you can always add ugly hacks, but it isn't the right solution that we want to use for all times. However, once we use it, it will show up in the external API and we'll never get rid of it again. Kevin