[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 13/41] hvf: Add missing include
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH 13/41] hvf: Add missing include |
Date: |
Tue, 18 Aug 2020 09:12:56 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
On 8/14/20 12:25 AM, Eduardo Habkost wrote:
> The sysemu/accel.h header is needed for the ACCEL_CLASS_NAME
> macro. This will be necessary to allow us to use OBJECT_DEFINE*()
> for TYPE_HVF_ACCEL.
>
> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
> ---
> include/sysemu/hvf.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/include/sysemu/hvf.h b/include/sysemu/hvf.h
> index 6d3ee4fdb7..d3bed80ea8 100644
> --- a/include/sysemu/hvf.h
> +++ b/include/sysemu/hvf.h
> @@ -13,6 +13,8 @@
> #ifndef HVF_H
> #define HVF_H
>
> +#include "sysemu/accel.h"
> +
> #ifdef CONFIG_HVF
> uint32_t hvf_get_supported_cpuid(uint32_t func, uint32_t idx,
> int reg);
>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
- Re: [PATCH 10/41] sifive_u: Rename memmap enum constants, (continued)
- [PATCH 12/41] virtio-ccw: Fix definition of VIRTIO_CCW_BUS_GET_CLASS, Eduardo Habkost, 2020/08/13
- [PATCH 11/41] versatile: Fix typo in PCI_VPB_HOST definition, Eduardo Habkost, 2020/08/13
- [PATCH 07/41] aspeed_soc: Rename memmap/irqmap enum constants, Eduardo Habkost, 2020/08/13
- [PATCH 13/41] hvf: Add missing include, Eduardo Habkost, 2020/08/13
- [PATCH 08/41] opentitan: Rename memmap enum constants, Eduardo Habkost, 2020/08/13
[PATCH 16/41] throttle-groups: Move ThrottleGroup typedef to header, Eduardo Habkost, 2020/08/13