Add support for booting KVM machines from qcow2 images #105

Closed
priteau opened this Issue Jul 10, 2012 · 0 comments

Projects

None yet

1 participant

@priteau
Member
priteau commented Jul 10, 2012

The mount-alter script will rely on qemu-nbd to mount qcow2 images on the host.

@priteau priteau was assigned Jul 10, 2012
@priteau priteau added a commit that closed this issue Jul 10, 2012
@priteau priteau Add support for booting KVM machines from qcow2 images
Detect qcow2 images by reading the image file header.  It contains the
"QFI" string and the qcow version number.  The libvirt template is
configured to use the qcow2 driver when a qcow2 image is detected.

The root partition is altered by attaching it to a host device using
qemu-nbd.  Since qemu-nbd can be named differently depending on the
Linux distribution, it is configurable by mount.conf.

Closes #105.
eeccbcc
@priteau priteau closed this in eeccbcc Jul 10, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment