From: "Daniel P. Berrange" <berrange@redhat.com>
To: qemu-devel@nongnu.org
Cc: Paolo Bonzini <pbonzini@redhat.com>,
Richard Henderson <rth@twiddle.net>,
Eduardo Habkost <ehabkost@redhat.com>,
"Daniel P. Berrange" <berrange@redhat.com>
Subject: [Qemu-devel] [PATCH v3 0/2] Support CPUID signature for TCG
Date: Tue, 9 May 2017 12:20:32 +0100 [thread overview]
Message-ID: <20170509112034.23351-1-berrange@redhat.com> (raw)
This enables report of a signature in CPUID for the TCG
interpretor.
Changed in v3:
- Simplify CPU limit code still further (Eduardo)
Changed in v2:
- Rewrite the way we bounds check / cap the CPUID index
to use a flat switch, instead of nested ifs (Eduardo)
- Add a 'tcg-cpuid' property to allow it to be hidden
(Eduardo)
- Hide the TCG signature for old machine types
- Force code to a no-op if tcg_enabled() is false (Eduardo)
NB, I did not introduce a general 'hypervisor-cpuid' property
to obsolete the existing 'kvm=off|on' -cpu property, since it
appears impossible to get the back compat semantics right,
as described in a previous reply.
Daniel P. Berrange (2):
i386: rewrite way CPUID index is validated
i386: expose "TCGTCGTCGTCG" in the 0x40000000 CPUID leaf
include/hw/i386/pc.h | 5 +++++
target/i386/cpu.c | 59 +++++++++++++++++++++++++++++++++-------------------
target/i386/cpu.h | 1 +
3 files changed, 44 insertions(+), 21 deletions(-)
--
2.9.3
next reply other threads:[~2017-05-09 11:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-09 11:20 Daniel P. Berrange [this message]
2017-05-09 11:20 ` [Qemu-devel] [PATCH v3 1/2] i386: rewrite way CPUID index is validated Daniel P. Berrange
2017-05-09 11:40 ` Eduardo Habkost
2017-05-09 11:20 ` [Qemu-devel] [PATCH v3 2/2] i386: expose "TCGTCGTCGTCG" in the 0x40000000 CPUID leaf Daniel P. Berrange
2017-05-09 11:52 ` Eduardo Habkost
2017-05-09 12:39 ` Daniel P. Berrange
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=20170509112034.23351-1-berrange@redhat.com \
--to=berrange@redhat.com \
--cc=ehabkost@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.