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/
Home Products Support Community News


[Xen-ia64-devel] [PATCH] Fix getvcpucontext hypercall

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [PATCH] Fix getvcpucontext hypercall
From: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
Date: Tue, 19 Feb 2008 13:21:17 +0900
Delivery-date: Mon, 18 Feb 2008 20:21:31 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>