qemu-discuss
[Top][All Lists]
Advanced

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

Re: [Qemu-discuss] qcow2 loadvm in 'read-only' mode


From: avadh patel
Subject: Re: [Qemu-discuss] qcow2 loadvm in 'read-only' mode
Date: Wed, 26 Oct 2011 08:40:48 -0700


On Wed, Oct 26, 2011 at 7:23 AM, Ottavio <address@hidden> wrote:
On 26 October 2011 15:12, avadh patel <address@hidden> wrote:
> Hi,
> Is there a way to use 'qcow2' disk images as 'read-only' mode while using
> 'loadvm' to load saved CPU and device states?
> Using '-snapshot' switch I can use 'qcow2' in 'read-only' mode but then it
> looses all the snapshots and doesn't allow me to do 'loadvm'.

http://wiki.qemu.org/download/qemu-doc.html#disk_005fimages_005fsnapshot_005fmode

"You can however force the write back to the raw disk images by using
the commit monitor command (or <C-a s> in the serial console)".

But the issue is that I want to keep writes in temporary file and also use 'loadvm' to load
CPU and device states.  When I invoke qemu with -loadvm and -snapshot both options,
then qemu doesn't load the VM state and does a normal boot.

- Avadh 

--
Ottavio

qemu-users · The unofficial mailing list for qemu users:
http://tech.groups.yahoo.com/group/qemu-users/


reply via email to

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