]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
hw/acpi/ich9_tco: Include missing 'migration/vmstate.h' header
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 19 Feb 2024 10:05:42 +0000 (11:05 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 22 Feb 2024 11:47:40 +0000 (12:47 +0100)
We need the VMStateDescription structure definition from
"migration/vmstate.h" in order to declare vmstate_tco_io_sts.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Message-Id: <20240219141412.71418-4-philmd@linaro.org>

include/hw/acpi/ich9_tco.h

index c4393caee0fad1db6b62203f29add171688423b1..2562a7cf39ba2c7be3a1d1b304edaf39d88bc1f9 100644 (file)
@@ -11,6 +11,7 @@
 #define HW_ACPI_TCO_H
 
 #include "exec/memory.h"
+#include "migration/vmstate.h"
 
 /* As per ICH9 spec, the internal timer has an error of ~0.6s on every tick */
 #define TCO_TICK_NSEC 600000000LL