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

[Xen-devel] [PATCH for-next v3 00/22] x86: refactor trap handling code



V3 of the series. Rebased on top of x86-next branch.

Patches are broken down into the smallest trunk possible to ease review and
future rebasing.

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

Wei Liu (22):
  x86/traps: move privilege instruction emulation code
  x86/traps: move gate op emulation code
  x86/traps: move emulate_invalid_rdtscp
  x86/traps: move emulate_forced_invalid_op
  x86/pv: clean up emulate.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 toggle_guest_mode
  x86/traps: move do_iret to pv/traps.c
  x86/traps: move init_int80_direct_trap
  x86/traps: move callback_op code
  x86/traps: move hypercall_page_initialise_ring3_kernel
  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.c          | 1947 ++++++++++++++++++++++++++++
 xen/arch/x86/pv/traps.c            | 1014 +++++++++++++++
 xen/arch/x86/traps.c               | 2483 +++---------------------------------
 xen/arch/x86/x86_64/compat/traps.c |  416 ------
 xen/arch/x86/x86_64/traps.c        |  288 +----
 xen/include/asm-x86/pv/domain.h    |    7 +
 xen/include/asm-x86/pv/traps.h     |   54 +
 xen/include/asm-x86/traps.h        |   27 +-
 9 files changed, 3202 insertions(+), 3035 deletions(-)
 create mode 100644 xen/arch/x86/pv/emulate.c
 delete mode 100644 xen/arch/x86/x86_64/compat/traps.c
 create mode 100644 xen/include/asm-x86/pv/traps.h

-- 
2.11.0


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

 


Rackspace

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