Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ee72576c authored by Rusty Russell's avatar Rusty Russell
Browse files

lguest: disable ACPI explicitly.



Once we add PCI, it starts trying to manage our interrupts.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 7313d521
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -56,6 +56,7 @@
#include <linux/virtio_console.h>
#include <linux/pm.h>
#include <linux/export.h>
#include <asm/acpi.h>
#include <asm/apic.h>
#include <asm/lguest.h>
#include <asm/paravirt.h>
@@ -1428,6 +1429,9 @@ __init void lguest_init(void)
	/* Register our very early console. */
	virtio_cons_early_init(early_put_chars);

	/* Don't let ACPI try to control our PCI interrupts. */
	disable_acpi();

	/*
	 * Last of all, we set the power management poweroff hook to point to
	 * the Guest routine to power off, and the reboot hook to our restart