From: Avi Kivity <avi@redhat.com>
To: Andre Przywara <andre.przywara@amd.com>
Cc: "kvm@vger.kernel.org" <kvm@vger.kernel.org>,
Linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 3/4] x86: Fix allowed CPUID bits for KVM guests
Date: Mon, 06 Sep 2010 15:14:22 +0300 [thread overview]
Message-ID: <4C84DB1E.1040503@redhat.com> (raw)
In-Reply-To: <4C84D903.6010104@amd.com>
On 09/06/2010 03:05 PM, Andre Przywara wrote:
>
>>
>> Did we really enable "sse5" before xsave? That looks broken, but I
>> guess no real harm if xsave itself is not enabled.
> Yes. It somehow slipped through when you introduced the other feature
> flags to KVM. I also think this is not a serious problem.
> BTW: I realized that AES is currently denied. Reading the manual I see
> that it operates on SSE registers, so it should be safe to be passed
> through. The only drawback is that it would change the visible CPUID
> on CPUs that already have AES, whereas earlier KVM versions did hide it.
This code doesn't directly affect a guest's cpuid, it merely tells host
userspace which cpuid bits are supported by kvm. It's perfectly fine to
add bits as we add support, in fact this interface is what makes
migration work across cpus with different capabilities.
> This could become a problem with migration. But if you agree, I'd
> integrate this flag in the v2 series.
Shouldn't be a problem - please do.
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2010-09-06 12:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1283506069-1096-1-git-send-email-andre.przywara@amd.com>
[not found] ` <1283506069-1096-2-git-send-email-andre.przywara@amd.com>
[not found] ` <4C834FCA.4020207@redhat.com>
2010-09-05 15:37 ` [PATCH 1/4] x86: Fix misnamed AMD CPUID feature bit Andre Przywara
2010-09-05 15:53 ` Avi Kivity
[not found] ` <1283506069-1096-4-git-send-email-andre.przywara@amd.com>
[not found] ` <4C8350C5.7050302@redhat.com>
2010-09-06 12:05 ` [PATCH 3/4] x86: Fix allowed CPUID bits for KVM guests Andre Przywara
2010-09-06 12:14 ` Avi Kivity [this message]
2010-09-06 13:14 [PATCH 0/4 -v2] x86: update AMD CPUID bits Andre Przywara
2010-09-06 13:14 ` [PATCH 3/4] x86: Fix allowed CPUID bits for KVM guests Andre Przywara
2010-09-06 18:47 ` Avi Kivity
-- strict thread matches above, loose matches on Subject: below --
2010-09-03 8:03 [PATCH 0/4] x86: update AMD CPUID bits Andre Przywara
2010-09-03 8:03 ` [PATCH 3/4] x86: Fix allowed CPUID bits for KVM guests Andre Przywara
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=4C84DB1E.1040503@redhat.com \
--to=avi@redhat.com \
--cc=andre.przywara@amd.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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