Testing nested virtualization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: signature.asc
Description: Digital signature


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux