@@ -7,6 +7,7 @@
#include <asm/hvm/hvm.h>
#include <asm/hvm/nestedhvm.h>
#include <asm/hvm/svm/svm.h>
+#include <asm/hvm/viridian.h>
#include <asm/hvm/vmx/vmcs.h>
#include <asm/paging.h>
#include <asm/processor.h>
@@ -65,6 +65,7 @@
#include <asm/hvm/nestedhvm.h>
#include <asm/hvm/monitor.h>
#include <asm/hvm/ioreq.h>
+#include <asm/hvm/viridian.h>
#include <asm/hvm/vm_event.h>
#include <asm/altp2m.h>
#include <asm/mtrr.h>
@@ -23,6 +23,7 @@
#include <xen/nospec.h>
#include <asm/hvm/support.h>
+#include <asm/hvm/viridian.h>
static long hvm_memory_op(int cmd, XEN_GUEST_HANDLE_PARAM(void) arg)
{
@@ -4,6 +4,7 @@
#define X86_HVM_VIRIDIAN_PRIVATE_H
#include <asm/hvm/save.h>
+#include <asm/hvm/viridian.h>
int viridian_synic_wrmsr(struct vcpu *v, uint32_t idx, uint64_t val);
int viridian_synic_rdmsr(const struct vcpu *v, uint32_t idx, uint64_t *val);
@@ -25,6 +25,7 @@
#include <xen/sched.h>
#include <asm/debugreg.h>
+#include <asm/hvm/viridian.h>
#include <asm/msr.h>
#include <asm/setup.h>
@@ -20,9 +20,7 @@
#define __ASM_X86_HVM_VCPU_H__
#include <xen/tasklet.h>
-#include <asm/hvm/io.h>
#include <asm/hvm/vlapic.h>
-#include <asm/hvm/viridian.h>
#include <asm/hvm/vmx/vmcs.h>
#include <asm/hvm/vmx/vvmx.h>
#include <asm/hvm/svm/vmcb.h>
Drop #include-s not needed by the header itself. Put the ones needed into whichever other files actually need them. Signed-off-by: Jan Beulich <jbeulich@suse.com>