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

Re: [PATCH v1 7/7] x86/vmx: switch IPT MSRs on vmentry/vmexit


  • To: Michał Leszczyński <michal.leszczynski@xxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Tue, 16 Jun 2020 19:38:57 +0200
  • Authentication-results: esa4.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: Kevin Tian <kevin.tian@xxxxxxxxx>, Jun Nakajima <jun.nakajima@xxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Tue, 16 Jun 2020 17:39:16 +0000
  • Ironport-sdr: Mb4s/JXwT4z+JVYADY0DJeKUP6xM8ze+DZ4hLLiiB98bE5Rj873p6CV9wW05uMe0RTNBOR29Kn PsBDttcGSlC79Us4WTSsWtB4AM5dY6NBJP6a8QlgOlYYcsc7Kl0jo1g56fPrBqZ9Y2ChF0rRsJ Z3Dfk4DSc14vrg8dGCHkch0m9n82fg9OrpJaZ0sYFeEGthnZCXPWcV53EAhwZ2otddyqtvUT+V zO66bIbwFoTlgfYmvobJndaZMdrF8dBe0NS2LnI72sCMMTORN4PjR5AyhpyvqbITUFLBByNH8q 0mQ=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Tue, Jun 16, 2020 at 05:24:11PM +0200, Michał Leszczyński wrote:
> Enable IPT when entering the VM and disable it on vmexit.
> Register state is persisted using vCPU ipt_state structure.

Shouldn't this be better done using Intel MSR load lists?

That seems to be what the SDM recommends for tracing VM events.

Thanks, Roger.



 


Rackspace

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