From: Avi Kivity <avi@redhat.com>
To: "Ren, Yongjie" <yongjie.ren@intel.com>
Cc: "kvm@vger.kernel.org" <kvm@vger.kernel.org>,
Marcelo Tosatti <mtosatti@redhat.com>
Subject: Re: Will KVM support "Xen on KVM" type in nested virtualization ?
Date: Sun, 12 Aug 2012 11:52:24 +0300 [thread overview]
Message-ID: <50276EC8.4080105@redhat.com> (raw)
In-Reply-To: <1B4B44D9196EFF41AE41FDA404FC0A1014015E@SHSMSX101.ccr.corp.intel.com>
On 08/11/2012 12:20 PM, Ren, Yongjie wrote:
> Hi folks,
> I did some basic testing on nested virtualization on Intel x86-64 platform.
> Will KVM support Xen as L1 guest in nested virtualization ?
>
> When I tried "Xen on KVM" mode, I found VMX can't be initialized in L1 Xen hypervisor.
> I tried both "-cpu host" and "-cpu qemu64,+vmx" parameters in qemu-kvm command line.
> -------some log in 'xl dmesg' command line in L1 Xen ---
> (XEN) VMX: CPU0 has insufficent CPU-Based Exec Control (b299868c but requires min 2299968c)
> (XEN) VMX: CPU0 has insufficent VMExit Control (00000200 but requires min 00008200)
> (XEN) VMX: failed to initialise.
> ------more details in the attached "xl-dmesg-L1.log"----
> In Xen source code, I found the following related to the mentioned error.
> "xen-unstable.hg/xen/include/asm-x86/hvm/vmx/vmcs.h"
> #define CPU_BASED_RDTSC_EXITING 0x00001000
> #define VM_EXIT_ACK_INTR_ON_EXIT 0x00008000
>
> Will KVM expose these two features in its vCPU ?
Those are two bugs in kvm. The first is trivial to fix, the second is
harder. I will take a look.
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2012-08-12 8:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-11 9:20 Will KVM support "Xen on KVM" type in nested virtualization ? Ren, Yongjie
2012-08-12 8:52 ` Avi Kivity [this message]
2012-08-12 9:41 ` Ren, Yongjie
2012-08-12 9:49 ` Avi Kivity
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=50276EC8.4080105@redhat.com \
--to=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@redhat.com \
--cc=yongjie.ren@intel.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).