kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dor Laor <dlaor@redhat.com>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: "Marcelo Tosatti" <mtosatti@redhat.com>,
	avi@redhat.com, kvm@vger.kernel.org,
	"Andreas Färber" <afaerber@suse.de>,
	"Igor Mammedov" <imammedo@redhat.com>,
	"Eduardo Habkost" <ehabkost@redhat.com>,
	"Michael Roth" <mdroth@linux.vnet.ibm.com>,
	"Anthony Liguori" <aliguori@us.ibm.com>,
	gleb@redhat.com
Subject: Re: [PATCHv2 kvm] kvm_pv_eoi: add flag support
Date: Tue, 10 Jul 2012 11:39:57 +0300	[thread overview]
Message-ID: <4FFBEA5D.7080104@redhat.com> (raw)
In-Reply-To: <20120701150830.GA31443@redhat.com>

On 07/01/2012 06:08 PM, Michael S. Tsirkin wrote:
> Support the new PV EOI flag in kvm - it recently got merged
> into kvm.git. Set by default with -cpu kvm.
> Set for -cpu qemu by adding +kvm_pv_eoi.
> Clear by adding -kvm_pv_eoi to -cpu option.

What about adding them to our cpu models?
It should go w/o saying for all models (SandyBridge, OpteronGx,..) but 
there is the issue of backward compat. I remember we had a discussion 
about pair the models w/ the current machine type (-M) but I don't 
remember the final call.

What's your take Eduardo?

Cheers,
Dor

>
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> ---
>
> Changes from v1:
> 	rebased to uq/master
>
>   target-i386/cpu.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/target-i386/cpu.c b/target-i386/cpu.c
> index 5521709..ee1b64a 100644
> --- a/target-i386/cpu.c
> +++ b/target-i386/cpu.c
> @@ -77,7 +77,7 @@ static const char *ext3_feature_name[] = {
>   };
>
>   static const char *kvm_feature_name[] = {
> -    "kvmclock", "kvm_nopiodelay", "kvm_mmu", "kvmclock", "kvm_asyncpf", NULL, NULL, NULL,
> +    "kvmclock", "kvm_nopiodelay", "kvm_mmu", "kvmclock", "kvm_asyncpf", NULL, "kvm_pv_eoi", 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,
>



  parent reply	other threads:[~2012-07-10  8:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-01 15:08 [PATCHv2 kvm] kvm_pv_eoi: add flag support Michael S. Tsirkin
2012-07-03 19:57 ` Marcelo Tosatti
2012-07-10  8:39 ` Dor Laor [this message]
2012-07-10 12:55   ` Eduardo Habkost
2012-07-13  0:03     ` Michael S. Tsirkin
2012-07-13 13:31       ` Eduardo Habkost

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=4FFBEA5D.7080104@redhat.com \
    --to=dlaor@redhat.com \
    --cc=afaerber@suse.de \
    --cc=aliguori@us.ibm.com \
    --cc=avi@redhat.com \
    --cc=ehabkost@redhat.com \
    --cc=gleb@redhat.com \
    --cc=imammedo@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=mdroth@linux.vnet.ibm.com \
    --cc=mst@redhat.com \
    --cc=mtosatti@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).