x86/svm: Use named (bit)fields for task switch exit info
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 3 Dec 2019 16:57:52 +0000 (16:57 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 5 Dec 2019 13:19:28 +0000 (13:19 +0000)
commit131c89ce1e1dfd0b57a249615a92de4f120d9100
tree71cecd7dc778bf2a5370d9982288a5c5fcf439d9
parent644f61d363f064a67f34937480a536062412cf6b
x86/svm: Use named (bit)fields for task switch exit info

Introduce vmcb.ei.* to provide names to fields in exitinfo{1,2}.  Implement
the task switch names for now, and clean up the TASK_SWITCH handler.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/svm/svm.c
xen/include/asm-x86/hvm/svm/vmcb.h