[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qemu-devel
Subject:    Re: [Qemu-devel] PATCH: Control over drive open modes for backing file
From:       "Daniel P. Berrange" <berrange () redhat ! com>
Date:       2008-07-31 13:08:42
Message-ID: 20080731130842.GB18548 () redhat ! com
[Download RAW message or body]

On Thu, Jul 31, 2008 at 01:15:37PM +0100, Jamie Lokier wrote:
> Daniel P. Berrange wrote:
> >  - Adds a new option to the '-drive' command line parameter to specify
> >    how the file should be opened, and any fallback
> 
> I would like to open the main file read-write, but the backing file
> read-only, as the backing file is shared among many images.
> 
> Can your options choose that?

No, you'd need to add further options for that - the existing code
opens the backing files with same mode as the primary files, and my
change maintains that behaviour.

Daniel
-- 
|: Red Hat, Engineering, London   -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 :|


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic