Re: [PATCH 5/5] hw/i386/q35: Include missing 'hw/acpi/acpi.h' header

2024-02-19 Thread Philippe Mathieu-Daudé
On 20/2/24 03:45, Zhao Liu wrote: Hi Philippe, On Mon, Feb 19, 2024 at 03:14:11PM +0100, Philippe Mathieu-Daudé wrote: Date: Mon, 19 Feb 2024 15:14:11 +0100 From: Philippe Mathieu-Daudé Subject: [PATCH 5/5] hw/i386/q35: Include missing 'hw/acpi/acpi.h' header X-Mailer: git-send-email 2.41.0

Re: [PATCH 5/5] hw/i386/q35: Include missing 'hw/acpi/acpi.h' header

2024-02-19 Thread Zhao Liu
Hi Philippe, On Mon, Feb 19, 2024 at 03:14:11PM +0100, Philippe Mathieu-Daudé wrote: > Date: Mon, 19 Feb 2024 15:14:11 +0100 > From: Philippe Mathieu-Daudé > Subject: [PATCH 5/5] hw/i386/q35: Include missing 'hw/acpi/acpi.h' header > X-Mailer: git-send-email 2.41.0 > &g

[PATCH 5/5] hw/i386/q35: Include missing 'hw/acpi/acpi.h' header

2024-02-19 Thread Philippe Mathieu-Daudé
"hw/acpi/acpi.h" is implicitly included. Included it explicitly to avoid when refactoring headers: hw/i386/pc_q35.c:209:43: error: use of undeclared identifier 'ACPI_PM_PROP_ACPI_PCIHP_BRIDGE' ACPI_PM_PROP_ACPI_PCIHP_BRIDGE, ^