public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
	Andre Przywara <andre.przywara@amd.com>,
	QEMU devel <qemu-devel@nongnu.org>,
	KVM list <kvm@vger.kernel.org>
Subject: Re: tainted Linux kernel in default SMP QEMU/KVM guests
Date: Tue, 23 Mar 2010 12:45:18 +0200	[thread overview]
Message-ID: <4BA89BBE.5040100@redhat.com> (raw)
In-Reply-To: <4BA37824.6000504@codemonkey.ws>

On 03/19/2010 03:12 PM, Anthony Liguori wrote:
> On 03/19/2010 07:58 AM, Paolo Bonzini wrote:
>>
>>> 1) Change the default CPUID bits from 6/2/3 to 6/6/1, this passes the
>>> Linux kernel check. But I am not sure if that would introduce
>>> regressions, since some OSes apply quirks if they detect certain models
>>> (like we had with the sysenter issue in the past)
>>>
>>> 2) Only change the CPUID bits to 6/6/1 if we use SMP. Still has the
>>> above drawback, but would be limited to SMP guests only.
>>>
>>> 3) Set kvm64/kvm32 as the default CPU model if KVM is enabled. This
>>> would limit the report and taint to TCG, where SMP is rarely used.
>>> Additionally less people (if any) use it for production systems.
>>>
>>> 4) Make the Linux' kernel quirk dependent on the missing hypervisor 
>>> bit.
>>> I don't think this will be accepted easily upstream (and I don't 
>>> want to
>>> support Ingo's recent ideas ;-), also this would not fix older kernels.
>>>
>>> I can easily provide patches for all solutions, but I'd like to get
>>> advice from people on which one to pursue.
>>
>> Doing (3) seems the most sensible thing to do, and it does not 
>> prevent doing (1) later on for TCG only.
>
> Let's switch to -cpu host for kvm. 

Except for -M old.

This has the nice advantage of exposing new features as they are rolled out.

-- 
error compiling committee.c: too many arguments to function


      reply	other threads:[~2010-03-23 10:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-19 12:16 tainted Linux kernel in default SMP QEMU/KVM guests Andre Przywara
2010-03-19 12:58 ` Paolo Bonzini
2010-03-19 13:12   ` Anthony Liguori
2010-03-23 10:45     ` Avi Kivity [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=4BA89BBE.5040100@redhat.com \
    --to=avi@redhat.com \
    --cc=andre.przywara@amd.com \
    --cc=anthony@codemonkey.ws \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.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