qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Nested KVM is weird?
@ 2014-06-01 10:54 Jun Koi
  2014-06-01 10:59 ` Muli Ben-Yehuda
  0 siblings, 1 reply; 4+ messages in thread
From: Jun Koi @ 2014-06-01 10:54 UTC (permalink / raw)
  To: linux-kernel, qemu-devel@nongnu.org

[-- Attachment #1: Type: text/plain, Size: 833 bytes --]

Hi,

I managed to run VMWare ESXi hypervisor (type 1) inside KVM. From there, I
can install & run nested guest Linux on this ESXi.

However, I find this very strange: I put some printk() at the top of
function nested_vmx_run(), which should run to handle nested KVM. Below is
the definition of nested_vmx_run() in vmx.c


/*
 * nested_vmx_run() handles a nested entry, i.e., a VMLAUNCH or VMRESUME on
L1
 * for running an L2 nested guest.
 */
static int nested_vmx_run(struct kvm_vcpu *vcpu, bool launch)


What I cannot understand is that this function is never hit, because my
printk() never prints out anything to dmesg output.

So this means ESXi never uses VMResume/VMLaunch? How is this possible,
because it uses VMX for its implementation?

I am banging my head into keyboard to figure out why. Any idea, please?

Thanks,
Jun

[-- Attachment #2: Type: text/html, Size: 1100 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-06-03 10:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-01 10:54 [Qemu-devel] Nested KVM is weird? Jun Koi
2014-06-01 10:59 ` Muli Ben-Yehuda
2014-06-01 16:30   ` Jun Koi
2014-06-03 10:53     ` Muli Ben-Yehuda

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).