WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] save/restore compatibility broken

To: Keir.Fraser@xxxxxxxxxxxx
Subject: [Xen-devel] save/restore compatibility broken
From: "Zhai, Edwin" <edwin.zhai@xxxxxxxxx>
Date: Thu, 12 Feb 2009 21:39:09 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, "Zhai, Edwin" <edwin.zhai@xxxxxxxxx>
Delivery-date: Thu, 12 Feb 2009 05:40:41 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.17 (Windows/20080914)
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



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel