summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEduardo Habkost2020-08-25 21:20:09 +0200
committerEduardo Habkost2020-08-27 20:04:54 +0200
commitd48ad737df66be7d957c2cbc3db7a1b520101fce (patch)
tree902feda93766e1b185e95bac8754a174bd4a4734
parentvirtio-ccw: Fix definition of VIRTIO_CCW_BUS_GET_CLASS (diff)
downloadqemu-d48ad737df66be7d957c2cbc3db7a1b520101fce.tar.gz
qemu-d48ad737df66be7d957c2cbc3db7a1b520101fce.tar.xz
qemu-d48ad737df66be7d957c2cbc3db7a1b520101fce.zip
hvf: Add missing include
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. Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Roman Bolshakov <r.bolshakov@yadro.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Tested-By: Roman Bolshakov <r.bolshakov@yadro.com> Message-Id: <20200825192110.3528606-14-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
-rw-r--r--include/sysemu/hvf.h2
1 files changed, 2 insertions, 0 deletions
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);