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-devel

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] May I comment out vmx_disable_intercept_for_msr()?
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=2iwVewwOTFxRTAGG0oN34HS5Hs5X50MZPgcuKqq9TCs=; b=aRuQgRk4Rij4UzkeicwdY8yZ7YdIFfx7HtGD1kArqC2NKdr4qQW70s9wJYR1O7GlgT HDmomZXtmVzAkhYpLnRS48n7ghtTTW79K+TpF2nyBQZC/Uu6Tp85Ssv0ZXak5T0ogq1k hQyPTXYiLmQG4hGc3JHYhbCPwP9bGG36eIX+U=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] May I comment out vmx_disable_intercept_for_msr()?, K.C. Lee <=