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

[Xen-changelog] Minor change also needed in vcpu.c for guests to own ar.kr's.



# HG changeset patch
# User djm@xxxxxxxxxxxxxxx
# Node ID d2f2c1c26995d909f26c2ce821beff16294e74ad
# Parent  f064ce67e5247f99455506da6adaf05cb8313aaa
Minor change also needed in vcpu.c for guests to own ar.kr's.

diff -r f064ce67e524 -r d2f2c1c26995 xen/arch/ia64/xen/vcpu.c
--- a/xen/arch/ia64/xen/vcpu.c  Wed Sep 21 20:13:07 2005
+++ b/xen/arch/ia64/xen/vcpu.c  Wed Sep 21 21:13:16 2005
@@ -134,7 +134,10 @@
        else if (reg == 24)
            printf("warning: setting ar.eflg is a no-op; no IA-32 support\n");
        else if (reg > 7) return (IA64_ILLOP_FAULT);
-       else PSCB(vcpu,krs[reg]) = val;
+       else {
+               PSCB(vcpu,krs[reg]) = val;
+               ia64_set_kr(reg,val);
+       }
        return IA64_NO_FAULT;
 }
 

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


 


Rackspace

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