ioemu build fix
PATCH 1/1 ioemu build fix
Hi!
Attached patch fixes an ioemu build error on NetBSD where CONFIG_PASSTHROUGH is not (yet) defined.
Signed-off-by Christoph Egger <[email protected]>
Signature · 6 lines
---to satisfy European Law for business letters: Advanced Micro Devices GmbH Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Thomas M. McCoy, Giuliano Meroni Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632
hw/piix4acpi.c +2 -0
@@ -40,7 +40,9 @@#define PIIX4ACPI_LOGLEVEL PIIX4ACPI_LOG_INFO#define PIIX4ACPI_LOG (level, fmt, ...) do { if (level <= PIIX4ACPI_LOGLEVEL) qemu_log(fmt, ## __VA_ARGS__); } while (0) +#ifdef CONFIG_PASSTHROUGH #include <pci/header.h> +#endif /* PM1a_CNT bits, as defined in the ACPI specification. */ #define SCI_EN (1 << 0)
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel