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]
Date:	Wed, 15 May 2013 16:17:09 +0300
From:	"Victor Miasnikov" <vvm@....by>
To:	"Michal Hocko" <mhocko@...e.cz>, "Borislav Petkov" <bp@...en8.de>,
	<linux-pm@...r.kernel.org>
Cc:	"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>,
	"Victor" <vvm@....by>
Subject: CONFIG_HYPERVISOR_GUEST=y   {-- replace -- CONFIG_PARAVIRT_GUEST=y {= { # CONFIG_HYPERVISOR_GUEST is not set } Re: 3.10-rc1 system starts regular boot when waking from s2ram Fw: [PATCH 2/2] x86: Make Linux guest support optional

Hi!

 b)

 See in P.S.
CONFIG_PARAVIRT_GUEST in arch/ia64

 a)
config-3.10.0-rc1-fullnohzdisabled
==
# CONFIG_HYPERVISOR_GUEST is not set
==

> - select PARAVIRT_GUEST
> + select HYPERVISOR_GUEST

TO Borislav Petkov :  first [but not last :-( ] non-upgraded config . . .

TO All:

 Please, replace
CONFIG_PARAVIRT_GUEST=y
 with
CONFIG_HYPERVISOR_GUEST=y


 {=
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.
==


IMHO, related not only Hyper-V, but XEN, KVM , etc.

( and VMWare
 config VMWARE_BALLOON
  tristate "VMware Balloon Driver"
- depends on X86
+ depends on X86 && HYPERVISOR_GUEST
)


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

P.S.

 Is good?

CONFIG_PARAVIRT_GUEST in arch/ia64 :

./linux-3.10-rc1/arch/ia64/include/asm/native/
inst.h
./linux-3.10-rc1/arch/ia64/configs/
xen_domu_defconfig
./linux-3.10-rc1/arch/ia64/include/asm/
hw_irq.h
iosapic.h
paravirt.h

==
 . . .
#ifdef CONFIG_PARAVIRT_GUEST

#define PARAVIRT_HYPERVISOR_TYPE_DEFAULT 0
#define PARAVIRT_HYPERVISOR_TYPE_XEN  1
 . . .
==


--
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