[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] Handle older Xen save files where arbytes are in the wrong format.



At 08:39 -0500 on 12 Feb (1234427949), Zhai, Edwin wrote:
>  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?

Yes -- sorry, I thought I'd already sent this patch. 

Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx>

Attachment: old-arbytes
Description: Text document

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.