d870f0e26e
guests operating systems on a single machine. Guest OSes (also called "domains") require a modified kernel which supports Xen hypercalls in replacement to access to the physical hardware. At boot, the xen kernel is loaded along with the guest kernel for the first domain (called domain0). domain0 has privileges to access the physical hardware (PCI and ISA devices), administrate other domains and provide virtual devices (disks and network) to other domains. xenkernel45 and xentools45 contains the kernel and tools from the Xen 4.5.x branch
17 lines
613 B
C
17 lines
613 B
C
$NetBSD: patch-qemu-xen-traditional_hw_piix4acpi.c,v 1.1 2015/01/20 16:42:13 bouyer Exp $
|
|
|
|
--- qemu-xen-traditional/hw/piix4acpi.c.orig 2014-10-06 17:50:24.000000000 +0200
|
|
+++ qemu-xen-traditional/hw/piix4acpi.c 2015-01-19 13:16:38.000000000 +0100
|
|
@@ -41,8 +41,12 @@
|
|
#define PIIX4ACPI_LOG(level, fmt, ...) do { if (level <= PIIX4ACPI_LOGLEVEL) qemu_log(fmt, ## __VA_ARGS__); } while (0)
|
|
|
|
#ifdef CONFIG_PASSTHROUGH
|
|
+#ifdef __NetBSD__
|
|
+#include <pciutils/header.h>
|
|
+#else
|
|
#include <pci/header.h>
|
|
#endif
|
|
+#endif
|
|
|
|
/* PM1a_CNT bits, as defined in the ACPI specification. */
|
|
#define SCI_EN (1 << 0)
|