From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Bareiro Subject: Re: Testing nested virtualization Date: Mon, 4 Jan 2010 12:52:47 -0300 Message-ID: <20100104155247.GG2794@defiant.freesoftware> References: <20100101202000.GB3516@defiant.freesoftware> <20100101205649.GC3516@defiant.freesoftware> <13DB8D87-89FE-408C-8666-D9A75CEBEB9F@suse.de> <20100102134531.GA8741@defiant.freesoftware> <8AEB2B3A-8AF5-40FF-A7D9-ABF422DB365C@suse.de> <20100104111145.GG14679@amd.com> <20100104142059.GE2794@defiant.freesoftware> <2D0448CD-C3D3-4D2D-BCC8-3F1F4C47DECB@suse.de> Reply-To: dbareiro@gmx.net Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xA/XKXTdy9G3iaIz" Cc: Joerg Roedel , KVM General To: Alexander Graf Return-path: Received: from mail.gmx.net ([213.165.64.20]:49795 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753420Ab0ADPwx (ORCPT ); Mon, 4 Jan 2010 10:52:53 -0500 Content-Disposition: inline In-Reply-To: <2D0448CD-C3D3-4D2D-BCC8-3F1F4C47DECB@suse.de> Sender: kvm-owner@vger.kernel.org List-ID: --xA/XKXTdy9G3iaIz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Alex. On Monday, 04 January 2010 16:07:52 +0100, Alexander Graf wrote: > >>>>>>> Also I was trying to use qemu-kvm-0.12.1.1 with to Linux > >>>>>>> 2.6.32 in guest within 'test'. And here it happens something > >>>>>>> similar. Sometimes I get to select the option of the menu of > >>>>>>> the installer, but after boot, the installation is hung again. > >> The problem has probably to do with the TSC bugs I fixed lately for > >> nested SVM. You can try to disable KVM-Clock for the L1 and the L2 > >> guest or use the latest 2.6.32.x kernel on the Host. Does one of > >> this fix the issues for you? > > I'm using Linux 2.6.32.2 with qemu-kvm-0.12.1.1 in the host, so I > > will try to disable KVM-Clock for L1 and L2 guest. How I can get it? > >=20 > > Alexander said in another mail that AMD family 10 have nested paging > > (read quad-core and above) but my processor is dual-core. The > > problem can be related to that? > It just means you're using code paths that I usually don't use, since > my main development machine can do nested paging. It should work > nevertheless, just be horribly slow. Then what it would seem it hangs can in fact be a horribly slow operation? What it draws attention to me is that, as I said in another mail, this happens at different moments. Can this be related to TSC bug mentioned by Joerg? The 'Clocksource tsc unstable' in dmesg is due to this bug?=20 In 'test' host I've the following thing: test:~# cat /sys/devices/system/clocksource/clocksource0/current_clocksource kvm-clock test:~# cat /sys/devices/system/clocksource/clocksource0/available_clocksou= rce kvm-clock hpet acpi_pm Thanks for your reply. Regards, Daniel --=20 Daniel Bareiro - GNU/Linux registered user #188.598 Proudly running Debian GNU/Linux with uptime: 12:21:25 up 21:06, 11 users, load average: 0.08, 0.11, 0.09 --xA/XKXTdy9G3iaIz 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) iEYEARECAAYFAktCDs8ACgkQZpa/GxTmHTfRxwCggcgDv8F4trITDeNl4dqrGup+ 4nAAnA5ML6ClRiGb6DV6wGo37WWabFyJ =Yor3 -----END PGP SIGNATURE----- --xA/XKXTdy9G3iaIz--