Skip to contentSkip to conversation

Super nested KVM

Qemu-devel Richard W.M. Jones 2 participants 4 messages Jul 3, 2014 – Jul 4, 2014

lore
Share & tools
lore
#0 lore raw

If you have odd Intel or AMD hardware, I'd appreciate if you could test my disk image which recursively launches nested KVM until something breaks:

http://rwmj.wordpress.com/2014/07/03/super-nested-kvm/#content

FWIW:

* AMD FX(tm)-8320 Eight-Core Processor:

L3 guest fails to boot with

[   30.769000] BUG: unable to handle kernel NULL pointer dereference at 0000000000000180
[   30.769000] IP: [<ffffffff810be871>] __queue_work+0x41/0x4e0

* Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz [Sandybridge]:

L4 guest either hangs very early in boot, or is so slow that it makes no visible progress.

There's also a TCG-only mode, but the test ran so slowly as to be inconclusive. I might leave it going overnight.

Rich.

Signature · 4 lines
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html
#1 lore raw
Quoted 2 lines · Richard W.M. Jones

There's also a TCG-only mode, but the test ran so slowly as to be inconclusive. I might leave it going overnight.

Well I got bored with the TCG test after about 4 hours. It appears to hang launching the L3 guest, reproducible on two different hosts both running qemu 2.0.0.

Rich.

Signature · 5 lines
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top
#2 lore raw

2014-07-04 1:00 GMT+04:00 Richard W.M. Jones <[email protected]>:

Quoted 3 lines

Well I got bored with the TCG test after about 4 hours. It appears to hang launching the L3 guest, reproducible on two different hosts both running qemu 2.0.0.

In my tests qemu tcg sometimes fail when run first vm. (kernel 3.12)

Signature · 3 lines
Vasiliy Tolstov,
e-mail: [email protected]
jabber: [email protected]
#3 lore raw
Quoted 7 lines · Vasiliy Tolstov

2014-07-04 1:00 GMT+04:00 Richard W.M. Jones <[email protected]>:

Quoted 3 lines

Well I got bored with the TCG test after about 4 hours. It appears to hang launching the L3 guest, reproducible on two different hosts both running qemu 2.0.0.

In my tests qemu tcg sometimes fail when run first vm. (kernel 3.12)

Does running a regular with TCG fail in the same way?

You can examine / adjust the parameters by editing the run-supernested.sh script. It runs qemu directly.

Rich.

Signature · 4 lines
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html