x86/hvm: Drop hvm_{vmx,svm} shorthands
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 28 Aug 2018 16:00:36 +0000 (16:00 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 31 Aug 2018 14:40:39 +0000 (15:40 +0100)
commit342dcb6430d76ebd1ce229a02bad83f8881c9ac9
treee1542c89447afc19d39f775310824f6890207629
parentc285742f33d4cc3e106923ee70031cb556c5e39b
x86/hvm: Drop hvm_{vmx,svm} shorthands

By making {vmx,svm} in hvm_vcpu into an anonymous union (consistent with
domain side of things), the hvm_{vmx,svm} defines can be dropped, and all code
refer to the correctly-named fields.  This means that the data hierachy is no
longer obscured from grep/cscope/tags/etc.

Reformat one comment and switch one bool_t to bool while making changes.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
19 files changed:
xen/arch/x86/cpuid.c
xen/arch/x86/hvm/svm/asid.c
xen/arch/x86/hvm/svm/emulate.c
xen/arch/x86/hvm/svm/intr.c
xen/arch/x86/hvm/svm/nestedsvm.c
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/svm/vmcb.c
xen/arch/x86/hvm/vmx/intr.c
xen/arch/x86/hvm/vmx/realmode.c
xen/arch/x86/hvm/vmx/vmcs.c
xen/arch/x86/hvm/vmx/vmx.c
xen/arch/x86/hvm/vmx/vvmx.c
xen/arch/x86/mm/p2m-ept.c
xen/arch/x86/x86_64/asm-offsets.c
xen/drivers/passthrough/io.c
xen/include/asm-x86/domain.h
xen/include/asm-x86/hvm/svm/asid.h
xen/include/asm-x86/hvm/vcpu.h
xen/include/asm-x86/hvm/vmx/vmcs.h