qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] snapshots


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] snapshots
Date: Fri, 7 Jan 2011 09:54:03 +0000

On Fri, Jan 7, 2011 at 4:37 AM, chandra shekar
<address@hidden> wrote:
> hi everyone i have got snapshot out of the image file now i would like to
> analyze the snapshot
> like opening it or identifying the fields in it can anyone suggest any
> softwares which i can use
> to open the snapshot analyze it,thanks

I'm not sure what format your snapshot data is in.  What exactly did you do?

qemu-img and qemu-io can be used to manipulate image data.

Check what format the data is in:
qemu-img info <snapshot-file>

Read first sector (for debugging):
qemu-io -c 'read -v 0 512' <snapshot-file>

Convert to raw image (suitable for dd, fdisk, hex editor, etc):
qemu-img convert <snapshot-file> raw-data.img

If you want to inspect savevm data (saved device state) then you're on
your own.  AFAIK there isn't an external tool to dissect it.  It would
be quickest to add some code into QEMU to dump out the info you need.

Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]