aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2020-08-25 15:20:09 -0400
committerEduardo Habkost <ehabkost@redhat.com>2020-08-27 14:04:54 -0400
commitd48ad737df66be7d957c2cbc3db7a1b520101fce (patch)
tree902feda93766e1b185e95bac8754a174bd4a4734
parentf58b770fbbd9a9849f98d6a7ae63027a1c56d8b9 (diff)
downloadqemu-d48ad737df66be7d957c2cbc3db7a1b520101fce.zip
qemu-d48ad737df66be7d957c2cbc3db7a1b520101fce.tar.gz
qemu-d48ad737df66be7d957c2cbc3db7a1b520101fce.tar.bz2
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 6d3ee4f..d3bed80 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);