This patch-series makes some adjustments and fixes to the X86 vm-events code.

Summary:
Corneliu ZUZU (8):
  1. x86/vmx_update_guest_cr: minor optimization
  2. x86/vm-event/monitor: relocate code-motion more appropriately
  3. x86/vm-event/monitor: don't compromise monitor_write_data on domain
     cleanup
  4. x86/vm_event/monitor/cr: check for vm-event subscriber on domctl
  5. x86/vm_event_resume: surround VM_EVENT_REASON_MOV_TO_MSR w/ CONFIG_X86
        Acked-by: Razvan Cojocaru <rcojoc...@bitdefender.com>
  6. x86/vm-event: minor ASSERT fix, add 'unlikely'
  7. minor fixes (formatting, comments, unused includes etc.)
        Acked-by: Razvan Cojocaru <rcojoc...@bitdefender.com>
        Acked-by: Julien Grall <julien.gr...@arm.com>
  8. minor #include change
        Acked-by: Tamas K Lengyel <ta...@tklengyel.com>
        Acked-by: Razvan Cojocaru <rcojoc...@bitdefender.com>

Significant changes since v2:
  0/8: patch 4 added
  2/8: call vmx_vm_event_update_cr3_traps from arch_monitor_cleanup_domain also
  3/8: * introduce vm_event_{vcpu,domain}_initialised inline functions for 
clarity
       * xfree arch_vm_event in vm_event_cleanup_domain as before if there are 
no
         uncommitted writes in arch_vm_event.write_data

 xen/arch/arm/domain.c             |  1 -
 xen/arch/arm/traps.c              |  1 -
 xen/arch/x86/domain.c             |  9 +++--
 xen/arch/x86/hvm/emulate.c        |  6 ++--
 xen/arch/x86/hvm/hvm.c            | 53 +++++++++++-----------------
 xen/arch/x86/hvm/monitor.c        |  1 +
 xen/arch/x86/hvm/vmx/vmx.c        | 64 ++++++++++++++++++++++++++++++----
 xen/arch/x86/mm/p2m.c             |  2 +-
 xen/arch/x86/monitor.c            | 72 ++++++++++++++++++++++++++++++++++-----
 xen/arch/x86/vm_event.c           | 44 ++++++++++++++++++------
 xen/common/monitor.c              |  1 -
 xen/common/vm_event.c             | 20 +++++++++--
 xen/include/asm-arm/vm_event.h    |  9 ++---
 xen/include/asm-x86/domain.h      | 17 +++++----
 xen/include/asm-x86/hvm/monitor.h |  2 --
 xen/include/asm-x86/hvm/vmx/vmx.h |  1 +
 xen/include/asm-x86/monitor.h     | 10 +++---
 xen/include/asm-x86/vm_event.h    | 14 ++++++--
 xen/include/public/vm_event.h     | 38 ++++++++++-----------
 xen/include/xen/vm_event.h        |  1 -
 20 files changed, 255 insertions(+), 111 deletions(-)

-- 
2.5.0


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to