qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Regression opening read-only cdroms


From: Richard W.M. Jones
Subject: Re: [Qemu-devel] Regression opening read-only cdroms
Date: Thu, 18 Jun 2009 13:37:59 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On Tue, Jun 16, 2009 at 03:33:00PM +0100, Jamie Lokier wrote:
> Avi Kivity wrote:
> > qemu used to be quite happy opening read-only cdrom images, and I was 
> > quite happy feeding kvm-autotest a library of read-only iso images.
> 
> 1. While we're here, an _option_ to open an image read-only even when
>    you have write permission would be useful, for those occasions when
>    you want to boot from some valuable image and be certain you aren't
>    modifying it - without having to chmod back and forth in
>    Qemu-wrapper scripts, or copy the image first.

FWIW we went round the houses on this one for libguestfs and settled
on using '-drive ...,snapshot=on' instead.  The guest sees the drive
as writable, and any writes are discarded when libguestfs/qemu quits.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v




reply via email to

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