SVM: drop asm/hvm/emulate.h inclusion from vmcb.h
authorJan Beulich <jbeulich@suse.com>
Wed, 26 Feb 2020 16:33:57 +0000 (17:33 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 26 Feb 2020 16:33:57 +0000 (17:33 +0100)
commit436b5fbb5526c80aee1744ac1bde101f116935e2
treec2a8aab01282831ceb26bc3e45723fc275a45c4f
parent96dc77b4b1828f59791cf2225acbc92405ad7875
SVM: drop asm/hvm/emulate.h inclusion from vmcb.h

It's not needed there and introduces a needless, almost global
dependency. Include the file (or in some cases just xen/err.h) where
actually needed, or - in one case - simply forward-declare a struct. In
microcode*.c take the opportunity and also re-order a few other
#include-s.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Alexandru Isaila <aisaila@bitdefender.com>
Reviewed-by: Paul Durrant <pdurrant@amazon.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
12 files changed:
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/ioreq.c
xen/arch/x86/hvm/svm/emulate.c
xen/arch/x86/hvm/vm_event.c
xen/arch/x86/microcode.c
xen/arch/x86/microcode_amd.c
xen/arch/x86/microcode_intel.c
xen/arch/x86/mm/shadow/hvm.c
xen/arch/x86/pv/emul-gate-op.c
xen/drivers/passthrough/amd/iommu_intr.c
xen/include/asm-x86/hvm/svm/vmcb.h
xen/include/asm-x86/hvm/vmx/vmx.h