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-changelog

[Xen-changelog] [xen-3.3-testing] hvm vlapic: Fix vlapic_write() for par

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.3-testing] hvm vlapic: Fix vlapic_write() for partial register writes.
From: "Xen patchbot-3.3-testing" <patchbot-3.3-testing@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 28 Jul 2009 09:11:38 -0700
Delivery-date: Tue, 28 Jul 2009 09:14:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1248796926 -3600
# Node ID 4501d412f9678a8cc479093481ba06463f05012e
# Parent  e0f8ccc8e9c6f9da5dabb7bdb99cdd89af7b0d4d
hvm vlapic: Fix vlapic_write() for partial register writes.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset:   19987:18e60f40c44b
xen-unstable date:        Tue Jul 28 16:24:47 2009 +0100
---
 xen/arch/x86/hvm/vlapic.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r e0f8ccc8e9c6 -r 4501d412f967 xen/arch/x86/hvm/vlapic.c
--- a/xen/arch/x86/hvm/vlapic.c Tue Jul 28 17:01:30 2009 +0100
+++ b/xen/arch/x86/hvm/vlapic.c Tue Jul 28 17:02:06 2009 +0100
@@ -595,13 +595,13 @@ static int vlapic_write(struct vcpu *v, 
     val = (uint32_t)val;
     if ( len != 4 )
     {
-        unsigned long tmp;
+        unsigned int tmp;
         unsigned char alignment;
 
         gdprintk(XENLOG_INFO, "Notice: Local APIC write with len = %lx\n",len);
 
         alignment = offset & 0x3;
-        (void)vlapic_read(v, offset & ~0x3, 4, &tmp);
+        (void)vlapic_read_aligned(vlapic, offset & ~0x3, &tmp);
 
         switch ( len )
         {

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.3-testing] hvm vlapic: Fix vlapic_write() for partial register writes., Xen patchbot-3.3-testing <=