ia64/xen-unstable
changeset 10767:34ba512b2d64
[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@intel.com>
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@intel.com>
author | kaf24@firebug.cl.cam.ac.uk |
---|---|
date | Fri Jul 14 14:02:59 2006 +0100 (2006-07-14) |
parents | 078c08dc4b0a |
children | 4e2eb1947728 |
files | xen/arch/x86/hvm/vmx/vmx.c |
line diff
1.1 --- a/xen/arch/x86/hvm/vmx/vmx.c Fri Jul 14 14:01:25 2006 +0100 1.2 +++ b/xen/arch/x86/hvm/vmx/vmx.c Fri Jul 14 14:02:59 2006 +0100 1.3 @@ -811,6 +811,8 @@ static int vmx_do_page_fault(unsigned lo 1.4 return 1; 1.5 } 1.6 TRACE_VMEXIT (2,2); 1.7 + /* in the case of MMIO, we are more interested in gpa than in va */ 1.8 + TRACE_VMEXIT (4,gpa); 1.9 handle_mmio(va, gpa); 1.10 return 1; 1.11 }