From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JqNSP-0002eB-4C for qemu-devel@nongnu.org; Mon, 28 Apr 2008 03:07:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JqNSN-0002dS-Hu for qemu-devel@nongnu.org; Mon, 28 Apr 2008 03:07:24 -0400 Received: from [199.232.76.173] (port=35027 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JqNSN-0002dH-9c for qemu-devel@nongnu.org; Mon, 28 Apr 2008 03:07:23 -0400 Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JqNSM-0005N3-PL for qemu-devel@nongnu.org; Mon, 28 Apr 2008 03:07:22 -0400 Received: from bzq-179-150-194.static.bezeqint.net ([212.179.150.194] helo=il.qumranet.com) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JqNSM-0002Cg-73 for qemu-devel@nongnu.org; Mon, 28 Apr 2008 03:07:22 -0400 Message-ID: <4815775A.3000907@qumranet.com> Date: Mon, 28 Apr 2008 10:06:02 +0300 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] [4270] bios: disable processor SSDT generation. References: <5b31733c0804272033q1b13c435l56c1d1bb9340037b@mail.gmail.com> <48156F20.7090704@aurel32.net> In-Reply-To: <48156F20.7090704@aurel32.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aurelien Jarno Cc: qemu-devel@nongnu.org Aurelien Jarno wrote: > Filip Navara a =E9crit : > =20 >> Under which operating system and in which conditions? Some operating >> =20 > > Basically on all systems I tried, that is Linux, Windows 2k and Windows > XP. This happens for both 32- and 64-bits hosts. > > =20 >> systems I use under QEMU require the processor descriptors and I've >> been told that certain version of Windows Vista doesn't idle if the >> processsor descriptors aren't present. >> =20 > > I am open to a proper fix, but I think that breaking support for most > guests to support Windows Vista is a serious regression. kvm has processor descriptor and proper idle for all guests including=20 Vista.=20 The following commit is probaby needed: > commit cb98751267c2d79f5674301ccac6c6b5c2e0c6b5 > Author: Igor Lvovsky > Date: Sun Aug 19 14:54:08 2007 +0300 > > kvm: bios: don't advertise ACPI C2 or C3 support > > The previous patch fix the SMP guest problem, but > now UP guest with SMP HAL consume ~50% CPU (it was 2-3% before that > with UP HAL). To fix it we need disable support of C2 and C3 state= s > via FADT. > > Signed-off-by: Igor Lvovsky > Signed-off-by: Avi Kivity > I'd like to properly support C3 and revert that patch, but that can come=20 later. --=20 Any sufficiently difficult bug is indistinguishable from a feature.