Re: [Qemu-devel] Loading snapshot with readonly qcow2 image

2018-12-14 Thread Eric Blake
On 12/14/18 10:03 AM, Michael Spradling wrote: Can you combine -s (create a writable temp file) with -l to get what you want? /me tries: I can confirm that 'qemu-nbd -s a' lets me write data that is discarded on disconnect (lsof says a temp file in /var/tmp/vl.XX was created); and that

Re: [Qemu-devel] Loading snapshot with readonly qcow2 image

2018-12-14 Thread Michael Spradling
On Dec 13 15:43, Eric Blake wrote: > On 12/13/18 12:33 PM, Michael Spradling wrote: > > > > > My question is has anyone looked into loading snapshots from a backing > > > > file? I have attempted to look through the code and this looks to be > > > > difficult. If I attempt to add support for

Re: [Qemu-devel] Loading snapshot with readonly qcow2 image

2018-12-13 Thread Eric Blake
On 12/13/18 12:33 PM, Michael Spradling wrote: My question is has anyone looked into loading snapshots from a backing file? I have attempted to look through the code and this looks to be difficult. If I attempt to add support for this is there any general advice to follow? Any other ideas?

Re: [Qemu-devel] Loading snapshot with readonly qcow2 image

2018-12-13 Thread Michael Spradling
On Nov 30 08:58, Eric Blake wrote: > On 11/30/18 8:44 AM, Michael Spradling wrote: > > Hello, > > > > I would like to resume a snapshot via the command line option -loadvm > > with a read only QCOW2 file. For my use case, I would ideally like to > > load multiple instances of different snapshots

Re: [Qemu-devel] Loading snapshot with readonly qcow2 image

2018-11-30 Thread Eric Blake
On 11/30/18 8:44 AM, Michael Spradling wrote: Hello, I would like to resume a snapshot via the command line option -loadvm with a read only QCOW2 file. For my use case, I would ideally like to load multiple instances of different snapshots from the same QCOW2 image. It seems this is not

[Qemu-devel] Loading snapshot with readonly qcow2 image

2018-11-30 Thread Michael Spradling
Hello, I would like to resume a snapshot via the command line option -loadvm with a read only QCOW2 file. For my use case, I would ideally like to load multiple instances of different snapshots from the same QCOW2 image. It seems this is not possible at the moment as when a snapshot is loaded,