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

[Xen-ia64-devel] Nats not correctly saved/restored in context


  • To: Xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Tristan Gingold <tgingold@xxxxxxx>
  • Date: Thu, 8 Mar 2007 06:24:46 +0100
  • Delivery-date: Wed, 07 Mar 2007 21:18:56 -0800
  • List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>

Hi,

it may seem obvious struct cpu_user_regs is carefully read, but NaT bits
are not correctly saved and restored.  Here is a small program (based on
ia64regcheck) which checks this.

This program works well on bare linux but fails in dom0.  I have not run it
in domU or domVti.
Run as many processes as you have vcpus.

I plan to reorder fields in struct cpu_user_regs to fix the bug (and to
make eml_unat more usable).

Tristan.

Attachment: Makefile
Description: Text document

Attachment: checker.c
Description: Text Data

Attachment: regcheck.s
Description: Text document

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

 


Rackspace

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