From: Eduardo Habkost <ehabkost@redhat.com>
To: Luwei Kang <luwei.kang@intel.com>
Cc: qemu-devel@nongnu.org, pbonzini@redhat.com, rth@twiddle.net
Subject: Re: [Qemu-devel] [PATCH] i386: Disable Intel PT if packets IP payloads have LIP values
Date: Wed, 14 Mar 2018 10:02:38 -0300 [thread overview]
Message-ID: <20180314130238.GE3417@localhost.localdomain> (raw)
In-Reply-To: <1520969191-18162-1-git-send-email-luwei.kang@intel.com>
On Wed, Mar 14, 2018 at 03:26:31AM +0800, Luwei Kang wrote:
> Intel processor trace should be disabled when
> CPUID.(EAX=14H,ECX=0H).ECX.[bit31] is set.
> Generated packets which contain IP payloads will have LIP
> values when this bit is set, or IP payloads will have RIP
> values.
> Currently, The information of CPUID 14H is constant to make
> live migration safty and this bit is always 0 in guest even
> if host support LIP values.
> Guest sees the bit is 0 will expect IP payloads with RIP
> values, but the host CPU will generate IP payloads with
> LIP values if this bit is set in HW.
> To make sure the value of IP payloads correctly, Intel PT
> should be disabled when bit[31] is set.
>
> Signed-off-by: Luwei Kang <luwei.kang@intel.com>
Queued, thanks.
--
Eduardo
prev parent reply other threads:[~2018-03-14 13:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-13 19:26 [Qemu-devel] [PATCH] i386: Disable Intel PT if packets IP payloads have LIP values Luwei Kang
2018-03-14 13:02 ` Eduardo Habkost [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180314130238.GE3417@localhost.localdomain \
--to=ehabkost@redhat.com \
--cc=luwei.kang@intel.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).