qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Jan Kiszka <jan.kiszka@siemens.com>,
	"Daniel P. Berrange" <berrange@redhat.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>,
	Nadav Har'El <nyh@math.technion.ac.il>, kvm <kvm@vger.kernel.org>,
	john cooper <john.cooper@redhat.com>,
	"Roedel, Joerg" <Joerg.Roedel@amd.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] drop -enable-nesting
Date: Mon, 30 May 2011 18:19:14 +0300	[thread overview]
Message-ID: <4DE3B572.6030105@redhat.com> (raw)
In-Reply-To: <4DE3B4A5.6050509@siemens.com>

On 05/30/2011 06:15 PM, Jan Kiszka wrote:
> On 2011-05-30 17:10, Roedel, Joerg wrote:
> >  On Mon, May 30, 2011 at 11:04:02AM -0400, Jan Kiszka wrote:
> >>  On 2011-05-30 16:38, Nadav Har'El wrote:
> >>>  On Mon, May 30, 2011, Jan Kiszka wrote about "drop -enable-nesting (was: [PATCH 3/7] cpu model bug fixes and definition corrections...)":
> >>>>  On 2011-05-30 10:18, Roedel, Joerg wrote:
> >>>>>  On Sat, May 28, 2011 at 04:39:13AM -0400, Jan Kiszka wrote:
> >>>>>
> >>>>>>  J�rg, how to deal with -enable-nesting in qemu-kvm to align behavior
> >>>>>>  with upstream?
> >>>>>
> >>>>>  My personal preference is to just remove it. In upstream-qemu it is
> >>>>>  enabled/disabled by +/-svm. -enable-nesting is just a historic thing
> >>>>>  which can be wiped out.
> >>>
> >>>  "-enable-nesting" could remain as a synonym for enabling either VMX or SVM
> >>>  in the guest, depending on what was available in the host (because KVM now
> >>>  supports both nested SVM and nested VMX, but not SVM-on-VMX or vice versa).
> >>
> >>  Why? Once nesting is stable (I think SVM already is), there is no reason
> >>  for an explicit enable. And you can always mask it out via -cpu.
> >>
> >>  BTW, what are the defaults for SVM right now in qemu-kvm and upstream?
> >>  Enable if the modeled CPU supports it?
> >
> >  qemu-kvm still needs -enable-nesting, otherwise it is disabled. Upstream
> >  qemu should enable it unconditionally (can be disabled with -cpu ,-svm).
>
> Then let's start with aligning qemu-kvm defaults to upstream? I guess
> that's what the diff I was citing yesterday is responsible for.
>
> In the same run, -enable-nesting could dump a warning on the console
> that this switch is obsolete and will be removed from future versions.

I think it's safe to drop -enable-nesting immediately.  Dan, does 
libvirt make use of it?

> For VMX, I would suggest to keep it off by default until it matured,
> asking the user to issue -cpu ...,+vmx.

We should do that for svm as well (except for -cpu host or -cpu 
something-with-svm).  vmx will be kept disabled by the module option, 
until it is deemed fit for general consumption.

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

  reply	other threads:[~2011-05-30 15:19 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-23 21:46 [Qemu-devel] [PATCH 3/7] cpu model bug fixes and definition corrections: Add kvm emulated x2apic flag to config defined cpu models john cooper
2011-05-28  8:39 ` Jan Kiszka
2011-05-30  8:18   ` Roedel, Joerg
2011-05-30 14:04     ` [Qemu-devel] drop -enable-nesting (was: [PATCH 3/7] cpu model bug fixes and definition corrections...) Jan Kiszka
2011-05-30 14:38       ` Nadav Har'El
2011-05-30 15:04         ` [Qemu-devel] drop -enable-nesting Jan Kiszka
2011-05-30 15:10           ` Roedel, Joerg
2011-05-30 15:15             ` Jan Kiszka
2011-05-30 15:19               ` Avi Kivity [this message]
2011-05-30 15:27                 ` Jan Kiszka
2011-05-30 15:42                   ` Jan Kiszka
2011-05-31  8:44                 ` Daniel P. Berrange
2011-05-31  8:58                   ` Avi Kivity
2011-05-31  9:06                     ` Roedel, Joerg
2011-05-31  9:15                     ` Paolo Bonzini
2011-05-31  9:16                       ` Avi Kivity
2011-05-30 15:16           ` Nadav Har'El
2011-05-30 15:59             ` Jan Kiszka

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=4DE3B572.6030105@redhat.com \
    --to=avi@redhat.com \
    --cc=Joerg.Roedel@amd.com \
    --cc=aliguori@us.ibm.com \
    --cc=berrange@redhat.com \
    --cc=jan.kiszka@siemens.com \
    --cc=john.cooper@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=nyh@math.technion.ac.il \
    --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).