All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
To: Tim Deegan <Tim.Deegan@eu.citrix.com>
Cc: Dan Magenheimer <dan.magenheimer@oracle.com>,
	"Xen-Devel (E-mail)" <xen-devel@lists.xensource.com>,
	Gianluca Guida <Gianluca.Guida@eu.citrix.com>,
	John Levon <levon@movementarian.org>
Subject: Re: save image file format? and [RFC] tmem	save/restore/migrate
Date: Thu, 18 Jun 2009 13:28:52 +0100	[thread overview]
Message-ID: <4A3A3304.1040907@eu.citrix.com> (raw)
In-Reply-To: <20090618120558.GJ16056@york.uk.xensource.com>

Tim Deegan wrote:

> At 13:02 +0100 on 18 Jun (1245330161), Stefano Stabellini wrote:
>> At least in theory is certainly feasible: just a matter or registering
>> another savevm function for a record called "cpu" or "vcpu", that would
>> take care of saving the guest memory using xc_domain_save.
> 
> Yuck.  You still need to add a bunch of metadata from xend that qemu
> doesn't know about, so you'll have to wrap the qemu output in another
> file format already.  Wrapping the memory image inside qemu's image is
> just layering for its own sake.  (Also, using qemu to save a PV guests 
> would be pretty wierd).


Most (but unfortunately not all) the information saved by xend are qemu
command line options or easy to get from them.
Certainly being backward compatible is going to be harder this way than
involving xend.

 
>> The qemu people are also maintaing save record compatibility now, so we
>> are safe from that perspective.
> 
> Yes, but their code-defines-format model is rubbish.  I've written a
> couple of tools that parse HVM save file info based on the Xen public
> headers; doing the same for a qemu-style implicit format is a PITA.
> 

We can always write an rfc that documents the format and request them to
keep it up to date.
We can also reuse exiting loadvm qemu code to write tools, even though
it wouldn't be as elegant as using xen public headers.

  parent reply	other threads:[~2009-06-18 12:28 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-17 23:00 save image file format? and [RFC] tmem save/restore/migrate Dan Magenheimer
2009-06-18  0:17 ` John Levon
2009-06-18  8:51 ` Tim Deegan
2009-06-18 11:39   ` John Levon
2009-06-18 12:02     ` Stefano Stabellini
2009-06-18 12:05       ` Tim Deegan
2009-06-18 12:26         ` John Levon
2009-06-18 12:43           ` Tim Deegan
2009-06-18 12:47             ` John Levon
2009-06-18 14:18               ` Tim Deegan
2009-06-22 14:28                 ` Gianluca Guida
2009-06-18 12:54             ` Stefano Stabellini
2009-06-18 12:28         ` Stefano Stabellini [this message]
2009-06-18 23:25   ` Dan Magenheimer
2009-06-18 23:40     ` Keir Fraser
2009-06-18 10:30 ` Stefano Stabellini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A3A3304.1040907@eu.citrix.com \
    --to=stefano.stabellini@eu.citrix.com \
    --cc=Gianluca.Guida@eu.citrix.com \
    --cc=Tim.Deegan@eu.citrix.com \
    --cc=dan.magenheimer@oracle.com \
    --cc=levon@movementarian.org \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.