[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [HVM][XENOPROFILE][PATCH][2/3] xenoprofile HVM patches


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Woller, Thomas" <thomas.woller@xxxxxxx>
  • Date: Fri, 15 Sep 2006 11:19:29 -0500
  • Delivery-date: Fri, 15 Sep 2006 09:21:39 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcbY4rgvfjhI0MPpTGihGkC8tGs2Rw==
  • Thread-topic: [HVM][XENOPROFILE][PATCH][2/3] xenoprofile HVM patches

second patch (SVM) for hvm xenoprofile support. 
Applies cleanly to 11470.

Signed-off-by: Tom Woller <thomas.woller@xxxxxxx>
Please apply to xen-unstable.hg.

hvm_xenoprofile_2.patch -
The second patch adds the actual xenoprofile fixes for SVM:

1) hvm function (svm_oprofile_get_eip())
This new hvm table function is called from the op_module_athlon.c code,
and returns the proper eip and "mode" for use in the
xenoprof_log_event() function.  

2) The vmexit handler code now checks the exitcode and if an NMI was
intercepted, then prior to the stgi(), a flag (VGCF_hvm_guest_nmi) is
set in the v->arch.guest_context.flags field.   The VGCF_hvm_guest_nmi
bit is checked during NMI processing via the hvm function callback. 

Tom

Attachment: hvm_xenoprofile_2.patch
Description: hvm_xenoprofile_2.patch

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.