Skip to content

x86: refactor x86/domain.c

Wei Liu xen-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest12 patches 14 repliesIn review
  2. v210 patches 32 repliesSuperseded
  3. v18 patches 25 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12x86/mm: make free_perdomain_mappings idempotentxen/arch/x86/mm.c+7 -11 reply
2/12x86/domain: provide pv_{create, destroy}_gdt_ldt_l1tab and use themxen/arch/x86/domain.c+22 -31 reply
3/12x86/domain: make release_compact_l4 NULL tolerantxen/arch/x86/domain.c+3 -40 replies
4/12x86/domain: factor out pv_vcpu_destroyxen/arch/x86/domain.c+12 -80 replies
5/12x86/domain: factor out pv_vcpu_initialisexen/arch/x86/domain.c+50 -491 reply
6/12x86/domain: push some code down to hvm_domain_initialisexen/arch/x86/domain.c xen/arch/x86/hvm/hvm.c xen/include/asm-x86/hvm/hvm.h+15 -134 replies
7/12x86/domain: factor out pv_domain_destroyxen/arch/x86/domain.c+17 -101 reply
8/12x86/domain: factor out pv_domain_initialisexen/arch/x86/domain.c+51 -370 replies
9/12x86/domain: move PV specific code to pv/domain.cxen/arch/x86/domain.c xen/arch/x86/pv/Makefile xen/arch/x86/pv/domain.c +2 more+297 -2114 replies
10/12x86/domain: move HVM specific code to hvm/domain.cxen/arch/x86/domain.c xen/arch/x86/hvm/Makefile xen/arch/x86/hvm/domain.c+326 -2910 replies
11/12x86/pv/domain: clean up setup_compat_l4xen/arch/x86/pv/domain.c+3 -31 reply
12/12x86/pv/domain: clean up switch_compatxen/arch/x86/pv/domain.c+3 -71 reply

Reviews trailers per patch

All 12 patches have a Reviewed-by or Acked-by.

PatchAndrew CooperJan BeulichGeorge Dunlap
1/12R-b A-b
2/12R-b
3/12R-b
4/12R-b
5/12R-b
6/12R-b
7/12R-b
8/12R-b
9/12R-b
10/12R-b A-b
11/12R-b
12/12A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH for-next v3 00/12] x86: refactor x86/domain.c

Can be found at

https://xenbits.xen.org/git-http/people/liuw/xen.git wip.x86-domain-v3

Cc Jan Beulich <[email protected]>
Cc Andrew Cooper <[email protected]>
Cc Tim Deegan <[email protected]>
Cc George Dunlap <[email protected]>

Wei Liu (12):
x86/mm: make free_perdomain_mappings idempotent x86/domain: provide pv_{create,destroy}_gdt_ldt_l1tab and use them x86/domain: make release_compact_l4 NULL tolerant x86/domain: factor out pv_vcpu_destroy
x86/domain: factor out pv_vcpu_initialise
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 x86/pv/domain: clean up setup_compat_l4
x86/pv/domain: clean up switch_compat

 xen/arch/x86/domain.c           | 507 ++--------------------------------------
 xen/arch/x86/hvm/Makefile       |   1 +
 xen/arch/x86/hvm/domain.c       | 325 ++++++++++++++++++++++++++
 xen/arch/x86/hvm/hvm.c          |  11 +-
 xen/arch/x86/mm.c               |   8 +-
 xen/arch/x86/pv/Makefile        |   1 +
 xen/arch/x86/pv/domain.c        | 229 ++++++++++++++++++
 xen/include/asm-x86/domain.h    |   3 +
 xen/include/asm-x86/hvm/hvm.h   |   3 +-
 xen/include/asm-x86/pv/domain.h |  57 +++++
 10 files changed, 657 insertions(+), 488 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/domain.h

--
2.11.0

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel