From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Daniel P. Berrange" Subject: Re: QEMU "drive_init()" Disk Format Security Bypass Date: Thu, 8 May 2008 18:30:23 +0100 Message-ID: <20080508173023.GC31908@redhat.com> References: <200805081800.24064.turkay.eren@gmail.com> <18467.12572.126574.502777@mariner.uk.xensource.com> <20080508171255.GA31908@redhat.com> <18467.13858.203078.97403@mariner.uk.xensource.com> <20080508172304.GB31908@redhat.com> <18467.14318.921215.768838@mariner.uk.xensource.com> Reply-To: "Daniel P. Berrange" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <18467.14318.921215.768838@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Jackson Cc: Eren =?utf-8?Q?T=C3=BCrkay?= , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Thu, May 08, 2008 at 06:27:10PM +0100, Ian Jackson wrote: > Daniel P. Berrange writes ("Re: [Xen-devel] QEMU "drive_init()" Disk Format Security Bypass"): > > Then disable all format guessing with file: for HVM guests and make it > > only use RAW format - this matches semantics of file: with PV guests. > > And let them use tap:XXX: if they want QCow with HVM > > If most people who use file: with HVM are using raw images, then that > is I think the best an interpretation for existing configs. Users who > want non-blktap cow can say file:qcow:/path/to/image No, that's changing the semantics of file: That should be done with separate syntax like tap:qcow:. There are too many tools which see a disk config file file:/path/to/image and expect that everything after the leading 'file:' is the real path. Adding a further qcow: will break those tools. Dan. -- |: Red Hat, Engineering, Boston -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|