KVM - how to re-install images

Tom Horsley horsley1953 at gmail.com
Fri May 18 12:28:35 UTC 2012


On Fri, 18 May 2012 13:10:43 +0100
John Horne wrote:

> As said, the images already exist and will be available to the F17 PC,
> so things like using virsh 'dumpxml' then 'create' don't seem to work
> since they are trying to create an image that already exists.

Actually dumpxml and create are exactly what you want. You do the
dumpxml on your current machine and the create (using that xml file)
on the new machine (modifying the location of the image file in the
xml if it doesn't appear to be in the same place on the new machine).

The same xml files dumpxml print are stashed in /etc/libvirt/qemu,
so you can copy them over from there.


More information about the users mailing list