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

[Xen-devel] May I comment out vmx_disable_intercept_for_msr()?


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "K.C. Lee" <kcl.joseph@xxxxxxxxx>
  • Date: Wed, 27 Oct 2010 18:09:16 +0800
  • Delivery-date: Wed, 27 Oct 2010 03:10:07 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=TXz3A2U5laL6wdusW3F2ilf6ef7cjTDpLgCtT0Nu5L2M/l6BG4JInidi3TBfnRyxTF rj3fRFHx2Wl9YtfwytA2cF31TGR7l37bTgVHXew38xqzl0AT7twN0yGmCyb5h7x3yGLF 6rmwgYGALD/J/a84HyTT3gDURePdI6uygusaI=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi,

I want to intercept the event of writing the address MSR_IA32_SYSENTER_EIP,

In xen 3.1.0, I can intercept the event in vmx_do_msr_write(),
In xen 4.0.1, I tried to intercept the event in vmx_msr_write_intercept(),
but I cannot intercept the event.

Later, I commented out vmx_disable_intercept_for_msr(v, MSR_IA32_SYSENTER_EIP) in construct_vmcs(),
and then I can intercept the event.

I want to know will it cause anything wrong to the hypervisor or guest or dom 0?
Is there any clever way to do this?


Any suggestion is appreciated,
greate thanks,

K.C.
_______________________________________________
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®.