[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [5627] Add KVM support to QEMU
From: |
andrzej zaborowski |
Subject: |
Re: [Qemu-devel] [5627] Add KVM support to QEMU |
Date: |
Wed, 5 Nov 2008 17:19:23 +0100 |
2008/11/5 Anthony Liguori <address@hidden>:
> 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 <address@hidden>
>
> 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