[PATCH v5 01/14] hw/qdev-properties-system: Include missing 'qapi/qapi-types-common.h'

Philippe Mathieu-Daudé posted 14 patches 3 weeks, 3 days ago
[PATCH v5 01/14] hw/qdev-properties-system: Include missing 'qapi/qapi-types-common.h'
Posted by Philippe Mathieu-Daudé 3 weeks, 3 days ago
DEFINE_PROP_ENDIAN_NODEFAULT() macro uses ENDIAN_MODE_UNSPECIFIED
which is defined in "qapi/qapi-types-common.h".

Fixes: 4ec96630f93 ("hw/qdev-properties-system: Introduce EndianMode QAPI enum")
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 include/hw/qdev-properties-system.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/hw/qdev-properties-system.h b/include/hw/qdev-properties-system.h
index b921392c525..49a3825eb46 100644
--- a/include/hw/qdev-properties-system.h
+++ b/include/hw/qdev-properties-system.h
@@ -1,6 +1,7 @@
 #ifndef HW_QDEV_PROPERTIES_SYSTEM_H
 #define HW_QDEV_PROPERTIES_SYSTEM_H
 
+#include "qapi/qapi-types-common.h"
 #include "hw/qdev-properties.h"
 
 bool qdev_prop_sanitize_s390x_loadparm(uint8_t *loadparm, const char *str,
-- 
2.47.1


Re: [PATCH v5 01/14] hw/qdev-properties-system: Include missing 'qapi/qapi-types-common.h'
Posted by Philippe Mathieu-Daudé 3 weeks, 1 day ago
+Markus

On 10/3/25 01:06, Philippe Mathieu-Daudé wrote:
> DEFINE_PROP_ENDIAN_NODEFAULT() macro uses ENDIAN_MODE_UNSPECIFIED
> which is defined in "qapi/qapi-types-common.h".
> 
> Fixes: 4ec96630f93 ("hw/qdev-properties-system: Introduce EndianMode QAPI enum")
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
>   include/hw/qdev-properties-system.h | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/include/hw/qdev-properties-system.h b/include/hw/qdev-properties-system.h
> index b921392c525..49a3825eb46 100644
> --- a/include/hw/qdev-properties-system.h
> +++ b/include/hw/qdev-properties-system.h
> @@ -1,6 +1,7 @@
>   #ifndef HW_QDEV_PROPERTIES_SYSTEM_H
>   #define HW_QDEV_PROPERTIES_SYSTEM_H
>   
> +#include "qapi/qapi-types-common.h"
>   #include "hw/qdev-properties.h"
>   
>   bool qdev_prop_sanitize_s390x_loadparm(uint8_t *loadparm, const char *str,