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

[Xen-devel] [PATCH v2 00/18] Refactor x86 trap handling code

This series splits PV code related to trap handling to files under pv           

The patches to refactor various entry.S are dropped in this version as Andrew
is going to work on those.

   git://xenbits.xen.org/people/liuw/xen.git wip.move-traps-v2

Wei Liu (18):
  x86/traps: factor out pv_percpu_traps_init
  x86/traps: export trapstr
  x86/traps: lift do_guest_trap to domain.h
  x86/traps: move all PV emulation code to pv/emulate_ops.h
  x86/pv: clean up emulate_ops.c
  x86/traps: move PV hypercall handlers to pv/traps.c
  x86/traps: move pv_inject_event to pv/traps.c
  x86/traps: move set_guest_{machinecheck,nmi}_trapbounce
  x86/traps: move {un,}register_guest_nmi_callback
  x86/traps: delcare percpu softirq_trap
  x86/traps: move guest_has_trap_callback to pv/traps.c
  x86/traps: move send_guest_trap to pv/traps.c
  x86/traps: move PV specific code in x86_64/traps.c
  x86/traps: merge x86_64/compat/traps.c into pv/traps.c
  x86: clean up pv/traps.c
  x86: guest_has_trap_callback should return bool
  x86: fix coding style issues in asm-x86/traps.h
  x86: clean up traps.c

 xen/arch/x86/pv/Makefile           |    1 +
 xen/arch/x86/pv/emulate_ops.c      | 1931 ++++++++++++++++++++++++++++
 xen/arch/x86/pv/traps.c            | 1062 +++++++++++++++
 xen/arch/x86/traps.c               | 2500 +++---------------------------------
 xen/arch/x86/x86_64/compat/traps.c |  415 ------
 xen/arch/x86/x86_64/traps.c        |  362 +-----
 xen/include/asm-x86/domain.h       |   12 +
 xen/include/asm-x86/pv/domain.h    |    7 +
 xen/include/asm-x86/pv/traps.h     |   58 +
 xen/include/asm-x86/traps.h        |   29 +-
 10 files changed, 3261 insertions(+), 3116 deletions(-)
 create mode 100644 xen/arch/x86/pv/emulate_ops.c
 delete mode 100644 xen/arch/x86/x86_64/compat/traps.c
 create mode 100644 xen/include/asm-x86/pv/traps.h


Xen-devel mailing list



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