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-unstable] [HVM] Currently in xentrace, MMIO is hand

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [HVM] Currently in xentrace, MMIO is handled just like other page faults. The
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 14 Jul 2006 17:40:52 +0000
Delivery-date: Fri, 14 Jul 2006 10:45:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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 kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 34ba512b2d64cb8b7783e89f9351ccd3da702332
# Parent  078c08dc4b0a8c49943f954bf9dcbd62df203d79
[HVM] Currently in xentrace, MMIO is handled just like other page faults. The
tracing parameters are error code and the guest virtual address.
However, if we are to analyze MMIO, tracing gpa makes more sense.

This small pactch replaces the va with gpa when tracing MMIO.

Signed-off-by: Qing He <qing.he@xxxxxxxxx>
---
 xen/arch/x86/hvm/vmx/vmx.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r 078c08dc4b0a -r 34ba512b2d64 xen/arch/x86/hvm/vmx/vmx.c
--- a/xen/arch/x86/hvm/vmx/vmx.c        Fri Jul 14 14:01:25 2006 +0100
+++ b/xen/arch/x86/hvm/vmx/vmx.c        Fri Jul 14 14:02:59 2006 +0100
@@ -811,6 +811,8 @@ static int vmx_do_page_fault(unsigned lo
             return 1;
         }
         TRACE_VMEXIT (2,2);
+        /* in the case of MMIO, we are more interested in gpa than in va */
+        TRACE_VMEXIT (4,gpa);
         handle_mmio(va, gpa);
         return 1;
     }

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [HVM] Currently in xentrace, MMIO is handled just like other page faults. The, Xen patchbot-unstable <=