From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kxl6N-0003bl-0y for qemu-devel@nongnu.org; Wed, 05 Nov 2008 11:19:27 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kxl6L-0003bR-Em for qemu-devel@nongnu.org; Wed, 05 Nov 2008 11:19:26 -0500 Received: from [199.232.76.173] (port=52850 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kxl6L-0003bN-8g for qemu-devel@nongnu.org; Wed, 05 Nov 2008 11:19:25 -0500 Received: from rv-out-0708.google.com ([209.85.198.250]:31686) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kxl6K-0005JZ-Os for qemu-devel@nongnu.org; Wed, 05 Nov 2008 11:19:25 -0500 Received: by rv-out-0708.google.com with SMTP id f25so63014rvb.22 for ; Wed, 05 Nov 2008 08:19:23 -0800 (PST) Message-ID: Date: Wed, 5 Nov 2008 17:19:23 +0100 From: "andrzej zaborowski" Subject: Re: [Qemu-devel] [5627] Add KVM support to QEMU In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 2008/11/5 Anthony Liguori : > Revision: 5627 > http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5627 > Author: aliguori > Date: 2008-11-05 16:04:33 +0000 (Wed, 05 Nov 2008) > > Log Message: > ----------- > Add KVM support to QEMU > > This patch adds very basic KVM support. KVM is a kernel module for Linux that > allows userspace programs to make use of hardware virtualization support. It > current supports x86 hardware virtualization using Intel VT-x or AMD-V. It > also supports IA64 VT-i, PPC 440, and S390. > > This patch only implements the bare minimum support to get a guest booting. It > has very little impact the rest of QEMU and attempts to integrate nicely with > the rest of QEMU. > > Even though this implementation is basic, it is significantly faster than TCG. > Booting and shutting down a Linux guest: > > w/TCG: 1:32.36 elapsed 84% CPU > > w/KVM: 0:31.14 elapsed 59% CPU > > Right now, KVM is disabled by default and must be explicitly enabled with > -enable-kvm. We can enable it by default later when we have had better > testing. > > Signed-off-by: Anthony Liguori > > Modified Paths: > -------------- > trunk/Makefile.target > trunk/configure > trunk/cpu-defs.h > trunk/cpu-exec.c > trunk/exec.c > trunk/hw/acpi.c > trunk/monitor.c > trunk/target-i386/cpu.h > trunk/target-i386/helper.c > trunk/vl.c > > Modified: trunk/Makefile.target > =================================================================== > --- trunk/Makefile.target 2008-11-05 15:34:06 UTC (rev 5626) > +++ trunk/Makefile.target 2008-11-05 16:04:33 UTC (rev 5627) > @@ -183,6 +183,9 @@ > endif > endif > > +kvm.o: CFLAGS+=$(KVM_CFLAGS) > +kvm-all.o: CFLAGS+=$(KVM_CFLAGS) The source seems to be missing, probably forgotten? Cheers