From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:43772) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkAIF-0006JU-KA for qemu-devel@nongnu.org; Fri, 22 Jul 2011 03:37:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QkAIE-0006J5-NY for qemu-devel@nongnu.org; Fri, 22 Jul 2011 03:37:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41050) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkAIE-0006Iw-CK for qemu-devel@nongnu.org; Fri, 22 Jul 2011 03:37:06 -0400 Message-ID: <4E292893.8010005@redhat.com> Date: Fri, 22 Jul 2011 10:36:51 +0300 From: Avi Kivity 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> In-Reply-To: <4E26DD5B.9010703@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: Kevin Wolf Cc: Stefan Hajnoczi , "libvir-list@redhat.com" , Jes Sorensen , QEMU Developers , Stefan Hajnoczi , Eric Blake 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). -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.