[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 0/7] vm-event: Implement ARM support for control-register writes



Add ARM support for control-register write vm-events.

Patch-series summary:
1.   [minor] small (formatting & other) fixes
2.   [minor] fix an issue w/ VM_EVENT_FLAG_DENY
3+4. [major] introduce a new vm-event function (vm_event_vcpu_enter) that
             gets executed just before a vCPU is (re)entered and move some
             x86 code there
5.   [minor] conceptual change of x86 monitor_write_data structure
6.   [major] move hvm_event_cr->common vm_event_monitor_cr
7.   [major] actual implementation, use HCR.TVM bit to monitor SCTLR, TTBR0,
             TTBR1 and TTBCR writes

Corneliu ZUZU (7):
  minor (formatting) fixes
  vm-event: VM_EVENT_FLAG_DENY requires VM_EVENT_FLAG_VCPU_PAUSED
  vm-event: introduce vm_event_vcpu_enter
  vm-event/x86: use vm_event_vcpu_enter properly
  x86: replace monitor_write_data.do_write with enum
  vm-event/arm: move hvm_event_cr->common vm_event_monitor_cr
  vm-event/arm: implement support for control-register write vm-events

 MAINTAINERS                     |   1 +
 xen/arch/arm/Makefile           |   1 +
 xen/arch/arm/domain.c           |   6 +-
 xen/arch/arm/traps.c            | 129 +++++++++++++++++++-
 xen/arch/arm/vm_event.c         | 112 ++++++++++++++++++
 xen/arch/x86/hvm/emulate.c      |   2 +-
 xen/arch/x86/hvm/event.c        |  32 +----
 xen/arch/x86/hvm/hvm.c          |  83 ++++---------
 xen/arch/x86/hvm/vmx/vmx.c      |  16 +--
 xen/arch/x86/mm/p2m.c           |   1 -
 xen/arch/x86/monitor.c          |  46 --------
 xen/arch/x86/vm_event.c         | 134 ++++++++++++++++-----
 xen/common/monitor.c            |  41 ++++++-
 xen/common/vm_event.c           |  30 ++++-
 xen/include/asm-arm/domain.h    |  30 +++++
 xen/include/asm-arm/traps.h     | 253 ++++++++++++++++++++++++++++++++++++++++
 xen/include/asm-arm/vm_event.h  |  32 +++--
 xen/include/asm-x86/domain.h    |  20 ++--
 xen/include/asm-x86/hvm/event.h |  15 +--
 xen/include/asm-x86/monitor.h   |   5 -
 xen/include/asm-x86/vm_event.h  |   6 +-
 xen/include/public/vm_event.h   |  45 ++++---
 xen/include/xen/monitor.h       |   2 +
 xen/include/xen/vm_event.h      |  24 +++-
 24 files changed, 828 insertions(+), 238 deletions(-)
 create mode 100644 xen/arch/arm/vm_event.c
 create mode 100644 xen/include/asm-arm/traps.h

-- 
2.5.0


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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.