qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Base images
@ 2006-11-21 10:58 David Roberts
  2006-11-21 11:06 ` Michael McConnell
  2006-11-21 11:17 ` Eric Hameleers
  0 siblings, 2 replies; 9+ messages in thread
From: David Roberts @ 2006-11-21 10:58 UTC (permalink / raw)
  To: qemu-devel

Hi,

I've got a couple of questions about creating images linked to base images:
- `qemu-img commit` commits changes directly to the base image. Is there a way 
to create a new merged image with the changes so as not to change the 
original?
- I noticed that images refer to their base image using an absolute path. Is 
there a way to change an image's base image reference? (for example when the 
base image is renamed / moved to a different directory)

-- 
David Roberts :)
http://kavenc.sf.net/

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: [Qemu-devel] Base images
@ 2006-11-23 19:16 Don Kitchen
  0 siblings, 0 replies; 9+ messages in thread
From: Don Kitchen @ 2006-11-23 19:16 UTC (permalink / raw)
  To: qemu-devel



^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: [Qemu-devel] Base images
@ 2006-11-23 19:17 Don Kitchen
  2006-11-23 23:25 ` Michael McConnell
  0 siblings, 1 reply; 9+ messages in thread
From: Don Kitchen @ 2006-11-23 19:17 UTC (permalink / raw)
  To: qemu-devel

> > - I noticed that images refer to their base image using an absolute path. Is
> > there a way to change an image's base image reference? (for example when the
> > base image is renamed / moved to a different directory)
> qemu-img convert [-c] <changes-file> -O qcow <new-base-file>
> should do what you want.

I believe that forces a delta file to merge in with its base. Definately not the same as relocation.

Example:
delta1.img and delta2.img are both based on /root/base1.img. The directory's
getting crowded, so you want to move base1.img into /root/qemu/base1.img.
But once you do that, delta1 and delta2 can't find it. So how is it possible
to have a relocated base1.img without merging either delta1 or delta2, which
are mutually exclusive?

Thanks

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-11-24 21:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-21 10:58 [Qemu-devel] Base images David Roberts
2006-11-21 11:06 ` Michael McConnell
2006-11-22  5:27   ` David Roberts
2006-11-22  8:48     ` Michael McConnell
2006-11-21 11:17 ` Eric Hameleers
2006-11-21 11:23   ` David Roberts
  -- strict thread matches above, loose matches on Subject: below --
2006-11-23 19:16 Don Kitchen
2006-11-23 19:17 Don Kitchen
2006-11-23 23:25 ` Michael McConnell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).