[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] trace: Reinstate tracing for emulated MSR reads and writes
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1278674865 -3600 # Node ID bc83def0724d4fa3ecca07b593cacd804f5b0e4c # Parent 5a0f99137e6beac8d1f756ed8e564adb8a503e62 trace: Reinstate tracing for emulated MSR reads and writes Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx> --- xen/arch/x86/hvm/hvm.c | 4 ++++ 1 files changed, 4 insertions(+) diff -r 5a0f99137e6b -r bc83def0724d xen/arch/x86/hvm/hvm.c --- a/xen/arch/x86/hvm/hvm.c Fri Jul 09 12:25:07 2010 +0100 +++ b/xen/arch/x86/hvm/hvm.c Fri Jul 09 12:27:45 2010 +0100 @@ -2103,6 +2103,8 @@ int hvm_msr_read_intercept(unsigned int } } + HVMTRACE_3D(MSR_READ, (uint32_t)*msr_content, (uint32_t)(*msr_content >> 32), msr); + return X86EMUL_OKAY; gp_fault: @@ -2116,6 +2118,8 @@ int hvm_msr_write_intercept(unsigned int int index, mtrr; uint32_t cpuid[4]; int ret; + + HVMTRACE_3D(MSR_WRITE, (uint32_t)msr_content, (uint32_t)(msr_content >> 32), msr); hvm_cpuid(1, &cpuid[0], &cpuid[1], &cpuid[2], &cpuid[3]); mtrr = !!(cpuid[3] & bitmaskof(X86_FEATURE_MTRR)); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |