ia64/xen-unstable

changeset 17077:63b0a8cb56ff

[IA64] Fix getvcpucontext hypercall

NaT bits for r1-r31 from xc_vcpu_getcontext() are broken.
HVM domain is confused by unknown Nat consumption fault
after domain restore or migration.

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
author Alex Williamson <alex.williamson@hp.com>
date Tue Feb 19 09:28:09 2008 -0700 (2008-02-19)
parents a0900277d1d1
children f853c0497095
files xen/arch/ia64/xen/domain.c
line diff
     1.1 --- a/xen/arch/ia64/xen/domain.c	Tue Feb 19 09:26:39 2008 -0700
     1.2 +++ b/xen/arch/ia64/xen/domain.c	Tue Feb 19 09:28:09 2008 -0700
     1.3 @@ -901,8 +901,6 @@ void arch_get_info_guest(struct vcpu *v,
     1.4  		 * uregs->r[4-7] and memory stack or only in memory stack.
     1.5  		 * So it is ok to get them from memory stack.
     1.6  		 */
     1.7 -		c.nat->regs.nats = uregs->eml_unat;
     1.8 -
     1.9  		if (vcpu_has_not_run(v)) {
    1.10  			c.nat->regs.r[4] = sw->r4;
    1.11  			c.nat->regs.r[5] = sw->r5;