From: Jan Kiszka <jan.kiszka@siemens.com>
To: "Nadav Har'El" <nyh@math.technion.ac.il>
Cc: john cooper <john.cooper@redhat.com>,
"Roedel, Joerg" <Joerg.Roedel@amd.com>,
Anthony Liguori <aliguori@us.ibm.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
kvm <kvm@vger.kernel.org>
Subject: Re: drop -enable-nesting
Date: Mon, 30 May 2011 17:59:23 +0200 [thread overview]
Message-ID: <4DE3BEDB.3030108@siemens.com> (raw)
In-Reply-To: <20110530151623.GA3630@fermat.math.technion.ac.il>
On 2011-05-30 17:16, Nadav Har'El wrote:
> On Mon, May 30, 2011, Jan Kiszka wrote about "Re: drop -enable-nesting":
>>> "-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.
>
> As far as I understand (and this was previously discussed on the QEMU mailing
> list), the default emulated CPU does not include the "vmx" capability, and you
> need to enable it with something like "-cpu qemu64,+vmx" (or "-cpu host").
qemu64 is an artificial AMD model. Adding VMX to it may have interesting
effects on the guests. Better use host or a recent Intel model.
>
> I am not sure if it does enable the "svm" capability. If it does, it isn't
> useful when KVM is enabled and the underlying host has VMX, not SVM.
That's what KVM is supposed to filter based on the host's capabilities.
I bet it does already.
Jan
--
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
WARNING: multiple messages have this Message-ID (diff)
From: Jan Kiszka <jan.kiszka@siemens.com>
To: Nadav Har'El <nyh@math.technion.ac.il>
Cc: john cooper <john.cooper@redhat.com>,
"Roedel, Joerg" <Joerg.Roedel@amd.com>,
Anthony Liguori <aliguori@us.ibm.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
kvm <kvm@vger.kernel.org>
Subject: Re: [Qemu-devel] drop -enable-nesting
Date: Mon, 30 May 2011 17:59:23 +0200 [thread overview]
Message-ID: <4DE3BEDB.3030108@siemens.com> (raw)
In-Reply-To: <20110530151623.GA3630@fermat.math.technion.ac.il>
On 2011-05-30 17:16, Nadav Har'El wrote:
> On Mon, May 30, 2011, Jan Kiszka wrote about "Re: drop -enable-nesting":
>>> "-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.
>
> As far as I understand (and this was previously discussed on the QEMU mailing
> list), the default emulated CPU does not include the "vmx" capability, and you
> need to enable it with something like "-cpu qemu64,+vmx" (or "-cpu host").
qemu64 is an artificial AMD model. Adding VMX to it may have interesting
effects on the guests. Better use host or a recent Intel model.
>
> I am not sure if it does enable the "svm" capability. If it does, it isn't
> useful when KVM is enabled and the underlying host has VMX, not SVM.
That's what KVM is supposed to filter based on the host's capabilities.
I bet it does already.
Jan
--
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2011-05-30 15:59 UTC|newest]
Thread overview: 33+ 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 ` drop -enable-nesting (was: [PATCH 3/7] cpu model bug fixes and definition corrections...) Jan Kiszka
2011-05-30 14:04 ` [Qemu-devel] " Jan Kiszka
2011-05-30 14:38 ` Nadav Har'El
2011-05-30 14:38 ` [Qemu-devel] " Nadav Har'El
2011-05-30 15:04 ` drop -enable-nesting Jan Kiszka
2011-05-30 15:04 ` [Qemu-devel] " Jan Kiszka
2011-05-30 15:10 ` Roedel, Joerg
2011-05-30 15:10 ` [Qemu-devel] " Roedel, Joerg
2011-05-30 15:15 ` Jan Kiszka
2011-05-30 15:15 ` [Qemu-devel] " Jan Kiszka
2011-05-30 15:19 ` Avi Kivity
2011-05-30 15:19 ` [Qemu-devel] " Avi Kivity
2011-05-30 15:27 ` Jan Kiszka
2011-05-30 15:27 ` [Qemu-devel] " Jan Kiszka
2011-05-30 15:42 ` Jan Kiszka
2011-05-30 15:42 ` [Qemu-devel] " Jan Kiszka
2011-05-31 8:44 ` Daniel P. Berrange
2011-05-31 8:44 ` [Qemu-devel] " Daniel P. Berrange
2011-05-31 8:58 ` Avi Kivity
2011-05-31 8:58 ` [Qemu-devel] " Avi Kivity
2011-05-31 9:06 ` Roedel, Joerg
2011-05-31 9:06 ` [Qemu-devel] " Roedel, Joerg
2011-05-31 9:15 ` Paolo Bonzini
2011-05-31 9:15 ` [Qemu-devel] " Paolo Bonzini
2011-05-31 9:16 ` Avi Kivity
2011-05-31 9:16 ` [Qemu-devel] " Avi Kivity
2011-05-30 15:16 ` Nadav Har'El
2011-05-30 15:16 ` [Qemu-devel] " Nadav Har'El
2011-05-30 15:59 ` Jan Kiszka [this message]
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=4DE3BEDB.3030108@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=Joerg.Roedel@amd.com \
--cc=aliguori@us.ibm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.