public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] VMware balloon: force compiling as a module
@ 2010-06-28 23:00 Dmitry Torokhov
  2010-06-29  8:27 ` Alexander Clouter
  0 siblings, 1 reply; 14+ messages in thread
From: Dmitry Torokhov @ 2010-06-28 23:00 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

VMware Tools installer requires the upstream driver to be compiled
as a module in order to detect its presence and avoid installing
our own version on top of it. To avoid surprises with 2 versions
of the driver being installed and fighting with each other, let's
force the driver to be compiled as a module unless user selects
CONFIG_EMBEDDED.

Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
---

Andrew,

Please consider forwarding this to Linus in your next batch.

Thanks,
Dmitry

 drivers/misc/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 26386a9..bb5b6ea 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -339,7 +339,7 @@ config TI_DAC7512
 
 config VMWARE_BALLOON
 	tristate "VMware Balloon Driver"
-	depends on X86
+	depends on X86 && (EMBEDDED || m)
 	help
 	  This is VMware physical memory management driver which acts
 	  like a "balloon" that can be inflated to reclaim physical pages
-- 
1.7.0


^ permalink raw reply related	[flat|nested] 14+ messages in thread
* RE: [PATCH] VMware balloon: force compiling as a module
@ 2010-06-30 18:42 Chetan Loke
  2010-06-30 19:27 ` Dmitry Torokhov
  0 siblings, 1 reply; 14+ messages in thread
From: Chetan Loke @ 2010-06-30 18:42 UTC (permalink / raw)
  To: dtor, pv-drivers; +Cc: Linux Kernel Mailing List, akpm, chetanloke

> From: linux-kernel-owner@vger.kernel.org [mailto:linux-kernel-
> owner@vger.kernel.org] On Behalf Of Dmitry Torokhov
> Sent: June 28, 2010 7:01 PM
> VMware Tools installer requires the upstream driver to be compiled
> as a module in order to detect its presence and avoid installing
> our own version on top of it. To avoid surprises with 2 versions
> of the driver being installed and fighting with each other, let's
> force the driver to be compiled as a module unless user selects
> CONFIG_EMBEDDED.
>

>  config VMWARE_BALLOON
>  	tristate "VMware Balloon Driver"
> -	depends on X86
> +	depends on X86 && (EMBEDDED || m)

None of the following questions are related to this patch.

Q1)Does vmtools handle pvscsi correctly?

Q2)In case if a VM wants to be a good citizen, is there a way for a
guest to know about the balloon-event?

Q3)What if an app mlock's its memory resources and driver's have
pinned down their pages then how does inflation work?


regards
Chetan Loke

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2010-07-02  9:08 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-28 23:00 [PATCH] VMware balloon: force compiling as a module Dmitry Torokhov
2010-06-29  8:27 ` Alexander Clouter
2010-06-29 16:28   ` Bruno Prémont
2010-06-29 16:40     ` Dmitry Torokhov
2010-07-01 22:18       ` Andrew Morton
2010-07-01 22:31         ` Dmitry Torokhov
2010-07-01 22:43           ` Andrew Morton
2010-07-01 22:59             ` Dmitry Torokhov
2010-07-02  8:09               ` Alexander Clouter
2010-06-29 16:39   ` Dmitry Torokhov
  -- strict thread matches above, loose matches on Subject: below --
2010-06-30 18:42 Chetan Loke
2010-06-30 19:27 ` Dmitry Torokhov
2010-06-30 21:26   ` Chetan Loke
2010-06-30 21:39     ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox