mbox series

[0/4] x86/svm: (Post TASK_SWITCH) cleanup

Message ID 20191204094335.24603-1-andrew.cooper3@citrix.com (mailing list archive)
Headers show
Series x86/svm: (Post TASK_SWITCH) cleanup | expand

Message

Andrew Cooper Dec. 4, 2019, 9:43 a.m. UTC
Various bits of cleanup stemming from the recent TASK_SWITCH fixes.

This series depends on both
  x86/svm: Correct vm_event API for descriptor accesses
  x86/svm: Fix handling of EFLAGS.RF on task switch

posted separately due to their bugfix nature, but neither are overly important
for review purposes.

Andrew Cooper (4):
  x86/svm: Clean up construct_vmcb()
  x86/svm: Don't shadow variables in svm_vmexit_handler()
  x86/svm: Clean up intinfo_t variables
  x86/svm: Use named (bit)fields for task switch exit info

 xen/arch/x86/hvm/svm/intr.c        |  32 ++++----
 xen/arch/x86/hvm/svm/nestedsvm.c   |  28 +++----
 xen/arch/x86/hvm/svm/svm.c         | 145 ++++++++++++++++---------------------
 xen/arch/x86/hvm/svm/svmdebug.c    |  12 +--
 xen/arch/x86/hvm/svm/vmcb.c        |  75 ++++++-------------
 xen/include/asm-x86/hvm/svm/vmcb.h |  55 +++++++++-----
 6 files changed, 153 insertions(+), 194 deletions(-)