Skip to contentSkip to conversation

Question on qcow2 image with base image

Qemu-devel Naphtali Sprei 2 participants 2 messages Feb 2, 2010 – Feb 3, 2010

lore
Share & tools
lore
#0 lore raw

Hi,
when I use a qcow2 image based on a base image, what should happen when I invoke the commit command from the qemu monitor ? Is it expected/intended to "flush" the data into the base image ?
IIUC, that is what happening in the released qemu (0.12).
I would expect it not to touch the base image.

Naphtali

#1 lore raw

Am 02.02.2010 18:47, schrieb Naphtali Sprei:

Quoted 3 lines

Hi,
when I use a qcow2 image based on a base image, what should happen when I invoke the commit command from the qemu monitor ? Is it expected/intended to "flush" the data into the base image ?

Yes, this is what it's meant to do.

Quoted 2 lines

IIUC, that is what happening in the released qemu (0.12). I would expect it not to touch the base image.

Well, committing to the base image without touching it sounds rather difficult. ;-) If you don't want to touch the backing file, don't use the commit command.

Kevin