> As per the documentation, only raw images are supported. But in the file > dev/disk_image.hh, there appears definition for the class CowDiskImage. I > need to support the qcow2 (QEMU's COW format, version 2). Which COW format > is currently supported? Is there some documentation on this format?
There is no documentation. It's just a trivial copy on write interface (on a sector basis). You need to have a regular disk image below the COW interface and the COW interface just intercepts writes and puts them in a hashmap. When it is written out, there is nothing intelligent about writing it out. We just write out the sector number and the contents of the sector. All that said, I started a patch a long time ago to support the qcow image format (by stealing the qemu code for it which is BSD licensed). I didn't get very far, but I can give you the diff and a little bit of explanation if you do want to work on it. Nate _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
