lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3369E805A4764CB084EC392749E1F99E@local.st.by>
Date:	Wed, 15 May 2013 17:52:01 +0300
From:	"Victor Miasnikov" <vvm@....by>
To:	"Borislav Petkov" <bp@...en8.de>,
	"Tony Luck" <tony.luck@...el.com>,
	"Haiyang Zhang" <haiyangz@...rosoft.com>,
	"KY Srinivasan" <kys@...rosoft.com>
Cc:	<linux-pm@...r.kernel.org>, "Len Brown" <len.brown@...el.com>,
	"Pavel Machek" <pavel@....cz>, "Rafael J. Wysocki" <rjw@...k.pl>,
	"LKML" <linux-kernel@...r.kernel.org>, "X86 ML" <x86@...nel.org>,
	"Greg Kroah-Hartman" <gregkh@...uxfoundation.org>,
	<devel@...uxdriverproject.org>, <olaf@...fle.de>,
	"\"Andy Whitcroft\"" <apw@...onical.com>, <jasowang@...hat.com>,
	"Thomas Gleixner" <tglx@...utronix.de>, <JBeulich@...e.com>,
	"Michal Hocko" <mhocko@...e.cz>
Subject: Re: CONFIG_HYPERVISOR_GUEST=y   {-- replace -- CONFIG_PARAVIRT_GUEST=y {= { # CONFIG_HYPERVISOR_GUEST is not set } Re: 3.10-rc1 Fw: [PATCH 2/2] x86: Make Linux guest support optional


Hi!

> . . . depends on BROKEN on ia64 . . .

 Is mini-problem [, IMHO] 

See example of real problem:


> changed the Kconfig symbol to CONFIG_HYPERVISOR_GUEST on x86.

 And when CONFIG_HYPERVISOR_GUEST not set ( IMHO, not special) , as result

linux-mainline ( non-official, but very usefull) v3.10-rc1 2013-05-12 for Arch Linux

 not contain

hv_storvsc.ko.gz

as not contain (

hv_vmbus.ko.gz
hv_utils.ko.gz
hv_netvsc.ko.gz
hv_balloon.ko.gz


)

 Arch Linux  linux-mainline v3.9 contain all this files

i.e. not only "balloon driver[s]"


 {=
patch-3.10-rc1
==
diff --git a/drivers/hv/Kconfig b/drivers/hv/Kconfig
index 64630f15f181..0403b51d20ba 100644
--- a/drivers/hv/Kconfig
+++ b/drivers/hv/Kconfig
@@ -2,7 +2,7 @@ menu "Microsoft Hyper-V guest support"

 config HYPERV
  tristate "Microsoft Hyper-V client drivers"
- depends on X86 && ACPI && PCI && X86_LOCAL_APIC
+ depends on X86 && ACPI && PCI && X86_LOCAL_APIC && HYPERVISOR_GUEST
  help
    Select this option to run Linux as a Hyper-V client operating
    system.
==


==
@@ -596,44 +592,17 @@ config SCHED_OMIT_FRAME_POINTER

    If in doubt, say "Y".

-menuconfig PARAVIRT_GUEST
- bool "Paravirtualized guest support"
+menuconfig HYPERVISOR_GUEST
+ bool "Linux guest support"
  ---help---
-   Say Y here to get to see options related to running Linux under
-   various hypervisors.  This option alone does not add any kernel code.
+   Say Y here to enable options for running Linux under various hyper-
+   visors. This option enables basic hypervisor detection and platform
+   setup.

-   If you say N, all options in this submenu will be skipped and disabled.
+   If you say N, all options in this submenu will be skipped and
+   disabled, and Linux guest support won't be built in.

==


Best regards, Victor Miasnikov
Blog:  http://vvm.blog.tut.by/

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ