public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Testing nested virtualization
@ 2010-01-01 20:20 Daniel Bareiro
  2010-01-01 20:56 ` Daniel Bareiro
  0 siblings, 1 reply; 13+ messages in thread
From: Daniel Bareiro @ 2010-01-01 20:20 UTC (permalink / raw)
  To: KVM General

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


Hi, all!

I'm testing nested virtualization with Linux 2.6.32.2 and
qemu-kvm-0.12.1.1 in the host.

I was looking for if in the KVM official site there is something
documented, but I didn't find information so any reference will be
welcome.

What I got to do until the moment is to load the module in host of the
following way:

# modprobe kvm_amd nested=1

Then, to boot guest with the parameter -enable-nesting:

# /usr/local/qemu-kvm/bin/qemu-system-x86_64 -hda /dev/vm/test-disk -m \
  1024 -boot c -net nic,vlan=0,macaddr=00:16:3e:00:00:34 -net tap \
  -daemonize -vnc :3 -k es -localtime -serial \
  telnet:localhost:5000,server,nowait -monitor \
  telnet:localhost:5001,server,nowait -enable-nesting

In this guest I'm using Linux 2.6.32, with userspace kvm-85 of
backports. For the VM booted within of 'test', I am using a qcow2 file.
But when connecting via VNC, the boot process is hung in "Press for F12
boot menu". Sometimes it gets to pass this instance and I see the Debian
install menu, but while I cross the options, it is hung.

With these options I boot the guest within test:

# kvm -hda disk01.img -m 512 -boot d -cdrom debian-500-amd64-netinst.iso \
  -net nic,vlan=0,macaddr=00:16:3e:00:00:33 -net tap -daemonize -vnc :2 \
  -k es -localtime


Which can be the problem?

Thanks in advance for your replies.

Regards,
Daniel
-- 
Fingerprint: BFB3 08D6 B4D1 31B2 72B9  29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Lenny - Linux user #188.598

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

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

end of thread, other threads:[~2010-01-04 23:57 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-01 20:20 Testing nested virtualization Daniel Bareiro
2010-01-01 20:56 ` Daniel Bareiro
2010-01-02 13:11   ` Alexander Graf
2010-01-02 13:45     ` Daniel Bareiro
2010-01-02 13:48       ` Alexander Graf
2010-01-02 13:49         ` Alexander Graf
2010-01-04 11:11           ` Joerg Roedel
2010-01-04 14:20             ` Daniel Bareiro
2010-01-04 15:07               ` Alexander Graf
2010-01-04 15:52                 ` Daniel Bareiro
2010-01-04 16:04                   ` Joerg Roedel
2010-01-04 23:56                     ` Daniel Bareiro
2010-01-02 14:18         ` Daniel Bareiro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox