qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Make default invocation of block drivers safer


From: Daniel P. Berrange
Subject: Re: [Qemu-devel] [PATCH] Make default invocation of block drivers safer
Date: Thu, 15 Jul 2010 10:20:56 +0100
User-agent: Mutt/1.4.1i

On Wed, Jul 14, 2010 at 01:50:02PM -0500, Anthony Liguori wrote:
> On 07/14/2010 01:43 PM, Christoph Hellwig wrote:
> >Err, strong NACK.  Please don't start messing with the contents of the
> >data plane, we're getting into real trouble there.  It's perfectly
> >valid for a guest to create an image inside an image, and with hardware
> >support for nested virtualization I guess this use case will become
> >rather common, just as it already is on S/390 with VM.
> >   
> 
> Then we have to remove block format probing.
> 
> The two things are fundamentally incompatible.

FWIW, the latest libvirt code will now always set a fmt=XXX arg even
for raw, so probing will never be performed. We also always set a backing
store format when creating qcow2 files.

The main remaining unsolved issues are backing stores with non-qcow2 
files for which QEMU will always probe, and pre-existing qcow2 files
which have been created without backing store formats.  It would be 
nice to have an explicit arg to disable all backing store probing, 
forcing backing format to either be raw, or match the parent image 
format.

Regards,
Daniel
-- 
|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|



reply via email to

[Prev in Thread] Current Thread [Next in Thread]