All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch merge tree] disable ACPI in domU
@ 2005-12-07 15:43 Gerd Knorr
  2005-12-08 18:47 ` Christian Limpach
  0 siblings, 1 reply; 2+ messages in thread
From: Gerd Knorr @ 2005-12-07 15:43 UTC (permalink / raw)
  To: xen-devel; +Cc: Jan Beulich

[-- Attachment #1: Type: text/plain, Size: 134 bytes --]

   Hi,

The automatic acpi disable for domU doesn't work in the 2.6.14/15 based 
linux kernel trees, fix attached.

cheers,

   Gerd


[-- Attachment #2: xen3-fixup-acpi-domU --]
[-- Type: text/plain, Size: 793 bytes --]

Subject: Disable ACPI in unprivilidged xen domains
From: kraxel@suse.de

Index: linux-2.6.14/arch/i386/xen/kernel/setup.c
===================================================================
--- linux-2.6.14.orig/arch/i386/xen/kernel/setup.c	2005-12-07 13:30:20.000000000 +0100
+++ linux-2.6.14/arch/i386/xen/kernel/setup.c	2005-12-07 16:19:12.000000000 +0100
@@ -1805,15 +1805,12 @@ void __init setup_arch(char **cmdline_p)
 	op.u.set_iopl.iopl = 1;
 	HYPERVISOR_physdev_op(&op);
 
-#ifdef CONFIG_ACPI_BOOT
+#ifdef CONFIG_ACPI
 	if (!(xen_start_info->flags & SIF_INITDOMAIN)) {
 		printk(KERN_INFO "ACPI in unprivileged domain disabled\n");
 		acpi_disabled = 1;
 		acpi_ht = 0;
 	}
-#endif
-
-#ifdef CONFIG_ACPI
 	/*
 	 * Parse the ACPI tables for possible boot-time SMP configuration.
 	 */

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

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

* Re: [patch merge tree] disable ACPI in domU
  2005-12-07 15:43 [patch merge tree] disable ACPI in domU Gerd Knorr
@ 2005-12-08 18:47 ` Christian Limpach
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Limpach @ 2005-12-08 18:47 UTC (permalink / raw)
  To: Gerd Knorr; +Cc: xen-devel, Jan Beulich

Applied, thanks!

    christian

On 12/7/05, Gerd Knorr <kraxel@suse.de> wrote:
>   Hi,
>
> The automatic acpi disable for domU doesn't work in the 2.6.14/15 based
> linux kernel trees, fix attached.
>
> cheers,
>
>   Gerd
>
>
>
> Subject: Disable ACPI in unprivilidged xen domains
> From: kraxel@suse.de
>
> Index: linux-2.6.14/arch/i386/xen/kernel/setup.c
> ===================================================================
> --- linux-2.6.14.orig/arch/i386/xen/kernel/setup.c      2005-12-07 13:30:20.000000000 +0100
> +++ linux-2.6.14/arch/i386/xen/kernel/setup.c   2005-12-07 16:19:12.000000000 +0100
> @@ -1805,15 +1805,12 @@ void __init setup_arch(char **cmdline_p)
>        op.u.set_iopl.iopl = 1;
>        HYPERVISOR_physdev_op(&op);
>
> -#ifdef CONFIG_ACPI_BOOT
> +#ifdef CONFIG_ACPI
>        if (!(xen_start_info->flags & SIF_INITDOMAIN)) {
>                printk(KERN_INFO "ACPI in unprivileged domain disabled\n");
>                acpi_disabled = 1;
>                acpi_ht = 0;
>        }
> -#endif
> -
> -#ifdef CONFIG_ACPI
>        /*
>         * Parse the ACPI tables for possible boot-time SMP configuration.
>         */
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
>
>

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

end of thread, other threads:[~2005-12-08 18:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-07 15:43 [patch merge tree] disable ACPI in domU Gerd Knorr
2005-12-08 18:47 ` Christian Limpach

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.