Re: [PATCH -tip] x86: move vmware to hypervisor

From: Ingo Molnar
Date: Tue Mar 17 2009 - 05:39:35 EST



* Jaswinder Singh Rajput <jaswinder@xxxxxxxxxx> wrote:

> Subject: [PATCH] x86: move vmware to hypervisor
>
> Impact: cleanup
>
> vmware is only required by hypervisor and having only two functions
> by moving these two functions to hypervisor we get rid of 2 vmware files
>
> Added support for CONFIG_X86_HYPERVISOR
>
> Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@xxxxxxxxx>
> ---
> arch/x86/Kconfig | 12 ++++
> arch/x86/include/asm/hypervisor.h | 34 ++++++++++-
> arch/x86/include/asm/vmware.h | 27 ---------
> arch/x86/kernel/cpu/Makefile | 2 +-
> arch/x86/kernel/cpu/hypervisor.c | 80 ++++++++++++++++++++-------
> arch/x86/kernel/cpu/vmware.c | 112 -------------------------------------
> 6 files changed, 104 insertions(+), 163 deletions(-)
> delete mode 100644 arch/x86/include/asm/vmware.h
> delete mode 100644 arch/x86/kernel/cpu/vmware.c

I dont really like this one. KVM is a hypervisor too, and so is
Xen and lguest. VMware is one of the many types of a
hypervisors.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/