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

[Xen-ia64-devel] [PATCH] 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@xxxxxxxxxxxxxx>

diff -r 2c9d0eb5a855 xen/arch/ia64/xen/domain.c
--- a/xen/arch/ia64/xen/domain.c        Fri Feb 15 10:34:00 2008 -0700
+++ b/xen/arch/ia64/xen/domain.c        Tue Feb 19 13:00:49 2008 +0900
@@ -901,8 +901,6 @@ void arch_get_info_guest(struct vcpu *v,
                 * uregs->r[4-7] and memory stack or only in memory stack.
                 * So it is ok to get them from memory stack.
                 */
-               c.nat->regs.nats = uregs->eml_unat;
-
                if (vcpu_has_not_run(v)) {
                        c.nat->regs.r[4] = sw->r4;
                        c.nat->regs.r[5] = sw->r5;
_______________________________________________
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®.