From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Bareiro Subject: Testing nested virtualization Date: Fri, 1 Jan 2010 17:20:00 -0300 Message-ID: <20100101202000.GB3516@defiant.freesoftware> Reply-To: dbareiro@gmx.net Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="neYutvxvOLaeuPCA" To: KVM General Return-path: Received: from mail.gmx.net ([213.165.64.20]:33018 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751932Ab0AAUUH (ORCPT ); Fri, 1 Jan 2010 15:20:07 -0500 Received: from defiant (defiant.freesoftware [10.1.0.65]) by hermes.freesoftware (Postfix) with ESMTP id C60C6986 for ; Fri, 1 Jan 2010 17:21:00 -0300 (ART) Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: --neYutvxvOLaeuPCA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=3D1 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=3D0,macaddr=3D00: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=3D0,macaddr=3D00: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 --=20 Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Lenny - Linux user #188.598 --neYutvxvOLaeuPCA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAks+WPAACgkQZpa/GxTmHTeGswCghhvbJxOq75y+JElHheBIUz9q 4ZoAmgJ5yviOezPEjUjEpGvA7PZWohBb =I8eq -----END PGP SIGNATURE----- --neYutvxvOLaeuPCA--