All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <keir@xensource.com>
To: Jan Beulich <jbeulich@novell.com>, xen-devel@lists.xensource.com
Subject: Re: save/restore of domU-s different in size from dom0
Date: Wed, 25 Apr 2007 15:23:22 +0100	[thread overview]
Message-ID: <C25522EA.DD60%keir@xensource.com> (raw)
In-Reply-To: <462F7E2D.76E4.0078.0@novell.com>

On 25/4/07 15:13, "Jan Beulich" <jbeulich@novell.com> wrote:

> Looking at the present code in xc_domain_save.c, I take it for granted that
> saving a 32-bit domU with a 64-bit dom0 (or vice versa) cannot be expected
> to work, yet (since the vcpu context structure layout is different and domctl
> returns a context matching the domain being saved, bi-modal code appears
> to be necessary here). Am I missing something?

Save on 64-bit dom0 and restore on 32-bit dom0 (or vice versa) certainly
won't work as longs are used all over the place in the save format.

Currently dom0 and domU need to be matched (both 32-bit or both 64-bit). The
bitness of Xen itself does not matter. 64-bit domU save/restore with 32-bit
dom0 is probably not that interesting. 32-bit domU save/restore with 64-bit
dom0 will at least require pt_levels and hvirt_start to be initialised based
on domain-specific details.

 -- Keir

      reply	other threads:[~2007-04-25 14:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-25 14:13 save/restore of domU-s different in size from dom0 Jan Beulich
2007-04-25 14:23 ` Keir Fraser [this message]

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=C25522EA.DD60%keir@xensource.com \
    --to=keir@xensource.com \
    --cc=jbeulich@novell.com \
    --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.