From: Paolo Bonzini <pbonzini@redhat.com>
To: Wanpeng Li <kernellwp@gmail.com>, Eduardo Habkost <ehabkost@redhat.com>
Cc: "qemu-devel@nongnu.org Developers" <qemu-devel@nongnu.org>,
kvm <kvm@vger.kernel.org>, "Radim Krčmář" <rkrcmar@redhat.com>
Subject: Re: [Qemu-devel] [PATCH] target-i386: adds PV_DEDICATED hint CPUID feature bit
Date: Fri, 9 Feb 2018 13:46:18 +0100 [thread overview]
Message-ID: <70c00938-9dd4-e088-d874-dc8fb5469e6c@redhat.com> (raw)
In-Reply-To: <CANRm+CyJi0r-Gm=ivJDwBhsW1dM5tAhBBx84G+miOQDaF+nLUw@mail.gmail.com>
On 09/02/2018 13:24, Wanpeng Li wrote:
> The guest fails to detect the new cpuid this time.
You have to debug the KVM_SET_CPUID2 ioctls and see why it is not set.
Paolo
> diff --git a/target/i386/cpu.c b/target/i386/cpu.c
> index d70954b..e2974ad 100644
> --- a/target/i386/cpu.c
> +++ b/target/i386/cpu.c
> @@ -358,6 +358,20 @@ static FeatureWordInfo feature_word_info[FEATURE_WORDS] = {
> .cpuid_eax = KVM_CPUID_FEATURES, .cpuid_reg = R_EAX,
> .tcg_features = TCG_KVM_FEATURES,
> },
> + [FEAT_KVM_HINTS] = {
> + .feat_names = {
> + "hint-dedicated", NULL, NULL, NULL,
> + NULL, NULL, NULL, NULL,
> + NULL, NULL, NULL, NULL,
> + NULL, NULL, NULL, NULL,
> + NULL, NULL, NULL, NULL,
> + NULL, NULL, NULL, NULL,
> + NULL, NULL, NULL, NULL,
> + NULL, NULL, NULL, NULL,
> + },
> + .cpuid_eax = KVM_CPUID_FEATURES, .cpuid_reg = R_EDX,
> + .tcg_features = TCG_KVM_FEATURES,
> + },
next prev parent reply other threads:[~2018-02-09 12:46 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-08 9:44 [Qemu-devel] [PATCH] target-i386: adds PV_DEDICATED hint CPUID feature bit Wanpeng Li
2018-02-08 18:12 ` Eduardo Habkost
2018-02-09 3:18 ` Wanpeng Li
2018-02-09 8:41 ` Paolo Bonzini
2018-02-09 11:46 ` Eduardo Habkost
2018-02-09 12:24 ` Wanpeng Li
2018-02-09 12:46 ` Paolo Bonzini [this message]
2018-02-09 12:46 ` Eduardo Habkost
2018-02-09 14:26 ` Wanpeng Li
2018-02-09 8:41 ` Paolo Bonzini
2018-02-09 14:27 ` Wanpeng Li
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=70c00938-9dd4-e088-d874-dc8fb5469e6c@redhat.com \
--to=pbonzini@redhat.com \
--cc=ehabkost@redhat.com \
--cc=kernellwp@gmail.com \
--cc=kvm@vger.kernel.org \
--cc=qemu-devel@nongnu.org \
--cc=rkrcmar@redhat.com \
/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).