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

[Xen-devel] [PATCH for-next 0/8] Refactor x86/domain.c



This series refactors x86/domain.c to move HVM and PV specific code to their
respective directory.

The arch_set_info_guest is not touched yet. Refactoring that function will be
in another series because 1) I need to touch ARM code as well; 2) I need to do
some archaeology to know why it is done like that. The end result possibily
will involve changing toolstack a bit as well.

Wei.

Wei Liu (8):
  xen.h: fix comment for vcpu_guest_context
  x86/domain: factor out pv_vcpu_initialise
  x86/domain: factor out pv_vcpu_destroy
  x86/domain: push some code down to hvm_domain_initialise
  x86/domain: factor out pv_domain_destroy
  x86/domain: factor out pv_domain_initialise
  x86/domain: move PV specific code to pv/domain.c
  x86/domain: move HVM specific code to hvm/domain.c

 xen/arch/x86/domain.c             | 538 ++------------------------------------
 xen/arch/x86/hvm/Makefile         |   1 +
 xen/arch/x86/hvm/domain.c         | 322 +++++++++++++++++++++++
 xen/arch/x86/hvm/hvm.c            |  25 +-
 xen/arch/x86/pv/Makefile          |   1 +
 xen/arch/x86/pv/domain.c          | 270 +++++++++++++++++++
 xen/include/asm-x86/domain.h      |   3 +
 xen/include/asm-x86/hvm/hvm.h     |   2 +-
 xen/include/asm-x86/pv/pv.h       |  29 ++
 xen/include/public/arch-x86/xen.h |   4 +-
 10 files changed, 662 insertions(+), 533 deletions(-)
 create mode 100644 xen/arch/x86/hvm/domain.c
 create mode 100644 xen/arch/x86/pv/domain.c
 create mode 100644 xen/include/asm-x86/pv/pv.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®.