* [Qemu-devel] [help] QEMUFile's format
@ 2011-12-23 5:17 ¤終於aware
2011-12-23 5:32 ` Shu Ming
2011-12-30 11:16 ` Stefan Hajnoczi
0 siblings, 2 replies; 6+ messages in thread
From: ¤終於aware @ 2011-12-23 5:17 UTC (permalink / raw)
To: qemu-devel, xen-devel
[-- Attachment #1: Type: text/plain, Size: 92 bytes --]
Hi,
Is anyone clear about the format of qemu file for savevm or loadvm?
bruce
[-- Attachment #2: Type: text/html, Size: 168 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] [help] QEMUFile's format
2011-12-23 5:17 [Qemu-devel] [help] QEMUFile's format ¤終於aware
@ 2011-12-23 5:32 ` Shu Ming
2011-12-23 6:03 ` 陳韋任
2011-12-30 11:16 ` Stefan Hajnoczi
1 sibling, 1 reply; 6+ messages in thread
From: Shu Ming @ 2011-12-23 5:32 UTC (permalink / raw)
To: ¤終於aware; +Cc: xen-devel, qemu-devel
Do you mean the file format? qcow2, qed, raw? Or the content layout in
the file image?
On 2011-12-23 13:17, ¤終於aware wrote:
> Hi,
> Is anyone clear about the format of qemu file for savevm or loadvm?
> bruce
--
Shu Ming<shuming@linux.vnet.ibm.com>
IBM China Systems and Technology Laboratory
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] [help] QEMUFile's format
2011-12-23 5:32 ` Shu Ming
@ 2011-12-23 6:03 ` 陳韋任
2011-12-23 6:05 ` 陳韋任
2011-12-23 6:09 ` Dong Xu Wang
0 siblings, 2 replies; 6+ messages in thread
From: 陳韋任 @ 2011-12-23 6:03 UTC (permalink / raw)
To: 250716708; +Cc: shuming, qemu-devel
On Fri, Dec 23, 2011 at 01:32:50PM +0800, Shu Ming wrote:
> Do you mean the file format? qcow2, qed, raw? Or the content layout in
> the file image?
> On 2011-12-23 13:17, ¤終於aware wrote:
> > Hi,
> > Is anyone clear about the format of qemu file for savevm or loadvm?
^^^^^^^^^^
savevm requires image's format to be qcow2.
You can check http://en.wikipedia.org/wiki/Qcow for more information.
Regards,
chenwj
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] [help] QEMUFile's format
2011-12-23 6:03 ` 陳韋任
@ 2011-12-23 6:05 ` 陳韋任
2011-12-23 6:09 ` Dong Xu Wang
1 sibling, 0 replies; 6+ messages in thread
From: 陳韋任 @ 2011-12-23 6:05 UTC (permalink / raw)
To: 250716708, shuming; +Cc: qemu-devel
> savevm requires image's format to be qcow2.
>
> You can check http://en.wikipedia.org/wiki/Qcow for more information.
Plus this,
http://www.linux-kvm.org/wiki/images/6/63/2011-forum-qcow2.pdf
HTH,
chenwj
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] [help] QEMUFile's format
2011-12-23 6:03 ` 陳韋任
2011-12-23 6:05 ` 陳韋任
@ 2011-12-23 6:09 ` Dong Xu Wang
1 sibling, 0 replies; 6+ messages in thread
From: Dong Xu Wang @ 2011-12-23 6:09 UTC (permalink / raw)
To: 250716708; +Cc: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 823 bytes --]
You could have a look at docs/specs directory.
2011/12/23 陳韋任 <chenwj@iis.sinica.edu.tw>
> On Fri, Dec 23, 2011 at 01:32:50PM +0800, Shu Ming wrote:
> > Do you mean the file format? qcow2, qed, raw? Or the content layout in
> > the file image?
> > On 2011-12-23 13:17, ¤終於aware wrote:
> > > Hi,
> > > Is anyone clear about the format of qemu file for savevm or loadvm?
> ^^^^^^^^^^
> savevm requires image's format to be qcow2.
>
> You can check http://en.wikipedia.org/wiki/Qcow for more information.
>
> Regards,
> chenwj
>
> --
> Wei-Ren Chen (陳韋任)
> Computer Systems Lab, Institute of Information Science,
> Academia Sinica, Taiwan (R.O.C.)
> Tel:886-2-2788-3799 #1667
> Homepage: http://people.cs.nctu.edu.tw/~chenwj
>
>
[-- Attachment #2: Type: text/html, Size: 1421 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] [help] QEMUFile's format
2011-12-23 5:17 [Qemu-devel] [help] QEMUFile's format ¤終於aware
2011-12-23 5:32 ` Shu Ming
@ 2011-12-30 11:16 ` Stefan Hajnoczi
1 sibling, 0 replies; 6+ messages in thread
From: Stefan Hajnoczi @ 2011-12-30 11:16 UTC (permalink / raw)
To: ¤終於aware; +Cc: xen-devel, qemu-devel
On Fri, Dec 23, 2011 at 01:17:00PM +0800, ¤終於aware wrote:
> Is anyone clear about the format of qemu file for savevm or loadvm?
If you are interested in the serialized device state format (e.g. the
e1000 NIC's serialized state) then the answer is no. I'm not aware of
any specification or schema that documents the device state.
It has been known to change in the past and writing tools that depend on
a specific device state layout outside of qemu.git is not viable today
because you'll have to watch qemu.git hw/ code changes and update your
external code every time something changes. It seems like a bad idea to
duplicate the device state layout outside of qemu.git.
For a temporary hack, read the QEMUFile and hw/ save/load code. You can
try qemu-io -c "read -b 0 $length" to extract the vmstate from a qcow2
image file.
Stefan
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-12-30 11:16 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-23 5:17 [Qemu-devel] [help] QEMUFile's format ¤終於aware
2011-12-23 5:32 ` Shu Ming
2011-12-23 6:03 ` 陳韋任
2011-12-23 6:05 ` 陳韋任
2011-12-23 6:09 ` Dong Xu Wang
2011-12-30 11:16 ` Stefan Hajnoczi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).