On 04/16/2012 11:22 AM, Hendrik Boom wrote: > Just what *is* qemu's raw disk image file format? > > Is it just a byte-by-byte, block-by-block copy of the hard drive, such as > can be produced by executing > > cp /dev/hda imagefile
Yep. Doesn't get any more raw than that :) > > ? Or does it have more structure or headers or such? No headers; in fact, the lack of headers is why auto-probing an arbitrary disk file for its format is a security risk - if you hand qemu a raw image, the guest can manipulate that image to look like any other file type, so that probing would guess the wrong type. -- Eric Blake ebl...@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature