[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 3/6] sysemu/xen: Add missing 'exec/cpu-common.h' header for ra
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v2 3/6] sysemu/xen: Add missing 'exec/cpu-common.h' header for ram_addr_t type |
Date: |
Tue, 8 Sep 2020 17:55:27 +0200 |
As this header use the ram_addr_t type, it has to include
"exec/cpu-common.h" to avoid odd errors such:
include/sysemu/xen.h:35:44: error: unknown type name 'ram_addr_t'; did you
mean 'in_addr_t'?
35 | static inline void xen_hvm_modified_memory(ram_addr_t start, ram_addr_t
length)
| ^~~~~~~~~~
| in_addr_t
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
include/sysemu/xen.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/sysemu/xen.h b/include/sysemu/xen.h
index 2c2c429ea8b..0ca25697e4f 100644
--- a/include/sysemu/xen.h
+++ b/include/sysemu/xen.h
@@ -8,6 +8,8 @@
#ifndef SYSEMU_XEN_H
#define SYSEMU_XEN_H
+#include "exec/cpu-common.h"
+
#ifdef NEED_CPU_H
# ifdef CONFIG_XEN
# define CONFIG_XEN_IS_POSSIBLE
--
2.26.2
- [PATCH v2 0/6] hw/xen: Housekeeping, Philippe Mathieu-Daudé, 2020/09/08
- [PATCH v2 1/6] hw/i386/q35: Remove unreachable Xen code on Q35 machine, Philippe Mathieu-Daudé, 2020/09/08
- [PATCH v2 2/6] hw/i386/xen: Rename X86/PC specific function as xen_hvm_init_pc(), Philippe Mathieu-Daudé, 2020/09/08
- [PATCH v2 3/6] sysemu/xen: Add missing 'exec/cpu-common.h' header for ram_addr_t type,
Philippe Mathieu-Daudé <=
- [PATCH v2 4/6] stubs: Split accelerator / hardware related stubs, Philippe Mathieu-Daudé, 2020/09/08
- [PATCH v2 5/6] hw/xen: Split x86-specific declaration from generic hardware ones, Philippe Mathieu-Daudé, 2020/09/08
- [PATCH v2 6/6] typedefs: Restrict PCMachineState to 'hw/i386/pc.h', Philippe Mathieu-Daudé, 2020/09/08
- Re: [PATCH v2 0/6] hw/xen: Housekeeping, Paolo Bonzini, 2020/09/22