On Tue, 2009-03-17 at 08:50 -0700, H. Peter Anvin wrote:..Jaswinder Singh Rajput wrote:Obviously. We spent a lot of time breaking up the cpu stuff into commonI 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.Can we use common hypervisor for Xen, lguest, vmware, etc.
And Xen, lguest, vmware will be the sub-options.
and vendor-specific portions, we shouldn't go backwards w.r.t. hypervisors.
OK, agreed.
But atleast give freedom to users to disable this who are not willing to
use it.
Currently hypervisor is used only used by VMWARE, so is I prepare this
freedom patch:
From: Jaswinder Singh Rajput <jaswinderrajput@xxxxxxxxx>
Date: Wed, 25 Mar 2009 10:40:01 +0530
Subject: [PATCH] x86: Introduce CONFIG_X86_VMWARE option
Impact: freedom to choose
Gives freedom to users to select or suppress CONFIG_X86_VMWARE option.
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@xxxxxxxxx>
---
arch/x86/Kconfig | 7 +++++++
arch/x86/include/asm/hypervisor.h | 9 +++++++++
arch/x86/kernel/cpu/Makefile | 2 +-
3 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index f5d7d29..56e1a9c 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -554,6 +554,13 @@ config HPET_EMULATE_RTC
def_bool y
depends on HPET_TIMER && (RTC=y || RTC=m || RTC_DRV_CMOS=m || RTC_DRV_CMOS=y)
+config X86_VMWARE
+ bool
+ default n
+ prompt "X86 VMware support"
+ ---help---
+ Enable X86 VMware Hypervisor support.