qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Wei Huang <wei@redhat.com>
To: Eduardo Habkost <ehabkost@redhat.com>,
	Paolo Bonzini <pbonzini@redhat.com>
Cc: afaerber@suse.de, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 1/1] target-i386: prevent users from setting threads>1 for AMD CPUs
Date: Tue, 21 Oct 2014 10:11:25 -0500	[thread overview]
Message-ID: <5446779D.90607@redhat.com> (raw)
In-Reply-To: <20141009221644.GP4178@thinpad.lan.raisama.net>

Patch posted. I will post another one for virt-manager.

-Wei

On 10/09/2014 05:16 PM, Eduardo Habkost wrote:
> On Thu, Oct 09, 2014 at 11:08:03PM +0200, Paolo Bonzini wrote:
>> Il 09/10/2014 22:22, Wei Huang ha scritto:
>>>
>>> Given that back-ward compatibility is a concern, will the following work?
>>>
>>> 1. Instead of bailing out, print a warning message (e.g. to log file via
>>> error_report) in QEMU.
>>> 2. [optional] Eduardo Habkost suggested that we can create a new machine
>>> model which more strictly checks threads=n option for AMD. For any
>>> existing machine config, we don't force it; but warning message still
>>> applies. This is optional because it is a bit over-killed IMO.
>>> 3. Gives out a warning in virt-manager as well. This is similar to
>>> "Overcomming CPUs will slow down performance" in current virt-manager
>>> screen. The message will read "Chosen CPU model doesn't support
>>> hyperthreading" or something similar.
>>
>> I like (1) and (3).
> 
> I don't think we really need (2), either. The current problem is just
> user confusion, so properly warning the user is the best thing to do.
> 

  reply	other threads:[~2014-10-21 15:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-07 19:44 [Qemu-devel] [PATCH 1/1] target-i386: prevent users from setting threads>1 for AMD CPUs Wei Huang
2014-10-07 20:58 ` Paolo Bonzini
2014-10-07 21:16   ` Wei Huang
2014-10-07 21:36     ` Paolo Bonzini
2014-10-08  0:41       ` Wei Huang
2014-10-08  7:47         ` Paolo Bonzini
2014-10-09 20:22           ` Wei Huang
2014-10-09 21:08             ` Paolo Bonzini
2014-10-09 22:16               ` Eduardo Habkost
2014-10-21 15:11                 ` Wei Huang [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-10-07 19:17 Wei Huang
2014-10-07 19:42 ` Wei Huang

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=5446779D.90607@redhat.com \
    --to=wei@redhat.com \
    --cc=afaerber@suse.de \
    --cc=ehabkost@redhat.com \
    --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;
as well as URLs for NNTP newsgroup(s).