WARNING - OLD ARCHIVES

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

xen-devel

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH][SVM] Remove redundant update to V_TPR register
From: "Travis Betak" <travis.betak@xxxxxxx>
Date: Wed, 31 Jan 2007 21:09:02 -0600 (CST)
Delivery-date: Wed, 31 Jan 2007 19:06:59 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH][SVM] Remove redundant update to V_TPR register, Travis Betak <=