From: "Zhai, Edwin" <edwin.zhai@intel.com>
To: Keir.Fraser@cl.cam.ac.uk
Cc: xen-devel@lists.xensource.com, "Zhai, Edwin" <edwin.zhai@intel.com>
Subject: save/restore compatibility broken
Date: Thu, 12 Feb 2009 21:39:09 +0800 [thread overview]
Message-ID: <4994267D.5020903@intel.com> (raw)
Keir,
From r17037, hvm_{get|set}_segment_register are used to save/restore
the VMCS segment register. But they introduce new compat image format
for xx_arbytes, i.e.
reg->attr.bytes = (attr & 0xff) | ((attr >> 4) & 0xf00);
This caused wrong VMCS setting for arbytes when restore old image on
new changeset.
How to fix it? Can we determine it's old format if bit 12~15 of
cs_arbytes is not zero, and then translate it?
Thanks,
edwin
next reply other threads:[~2009-02-12 13:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-12 13:39 Zhai, Edwin [this message]
2009-02-12 13:45 ` [PATCH] Handle older Xen save files where arbytes are in the wrong format Tim Deegan
2009-02-12 18:04 ` John Levon
2009-02-12 18:17 ` Keir Fraser
2009-02-12 18:20 ` John Levon
2009-02-12 18:41 ` Keir Fraser
2009-02-13 9:18 ` Tim Deegan
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=4994267D.5020903@intel.com \
--to=edwin.zhai@intel.com \
--cc=Keir.Fraser@cl.cam.ac.uk \
--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.