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

[Xen-devel] [PATCH][SVM] Remove redundant update to V_TPR register



This patch removes the redundant update to the V_TPR VMCB field.  The
update is already done in the preceding call to vlapic_set_reg.

This fix is for changeset 13762 in xen-unstable.hg

Please apply.

Signed-off-by: Travis Betak <travis.betak@xxxxxxx>

---

diff -r 588dd80b56b5 xen/arch/x86/hvm/svm/svm.c
--- a/xen/arch/x86/hvm/svm/svm.c        Wed Jan 31 19:37:44 2007 +0000
+++ b/xen/arch/x86/hvm/svm/svm.c        Wed Jan 31 20:59:02 2007 -0600
@@ -1948,7 +1948,6 @@ static int mov_to_cr(int gpreg, int cr,

     case 8:
         vlapic_set_reg(vlapic, APIC_TASKPRI, ((value & 0x0F) << 4));
-        vmcb->vintr.fields.tpr = value & 0x0F;
         break;

     default:



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


 


Rackspace

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