Skip to content

libxl: split up libxl.c

Juergen Gross xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest12 patches 10 repliesIn review
  2. v19 patches 9 repliesSuperseded

Changes in v2 from the cover letter

- address comments of Ian Jackson: add new patches 1-3, 12

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12libxl: adjust copyright comment of libxl.ctools/libxl/libxl.c+1 -32 replies
2/12libxl: make some functions global to prepare splitting up libxl.ctools/libxl/libxl.c tools/libxl/libxl_internal.h+13 -64 replies
3/12libxl: white space cleanuptools/libxl/libxl.c+10 -131 reply
4/12libxl: carve out cpupool specific functions from libxl.ctools/libxl/Makefile tools/libxl/libxl.c tools/libxl/libxl_cpupool.c+444 -4180 replies
5/12libxl: carve out scheduler specific functions from libxl.ctools/libxl/Makefile tools/libxl/libxl.c tools/libxl/libxl_sched.c+916 -8920 replies
6/12libxl: carve out disk specific functions from libxl.ctools/libxl/Makefile tools/libxl/libxl.c tools/libxl/libxl_disk.c+1259 -12340 replies
7/12libxl: carve out console specific functions from libxl.ctools/libxl/Makefile tools/libxl/libxl.c tools/libxl/libxl_console.c+863 -8470 replies
8/12libxl: carve out memory specific functions from libxl.ctools/libxl/Makefile tools/libxl/libxl.c tools/libxl/libxl_mem.c+602 -5780 replies
9/12libxl: move device specific functions out of libxl.ctools/libxl/libxl.c tools/libxl/libxl_device.c+414 -4160 replies
10/12libxl: carve out tmem specific functions from libxl.ctools/libxl/Makefile tools/libxl/libxl.c tools/libxl/libxl_tmem.c+168 -1430 replies
11/12libxl: carve out domain specific functions from libxl.ctools/libxl/Makefile tools/libxl/libxl.c tools/libxl/libxl_domain.c+1745 -17220 replies
12/12libxl: make one function statictools/libxl/libxl_device.c tools/libxl/libxl_internal.h+1 -21 reply

Reviews trailers per patch

3 of 12 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchWei LiuIan Jackson
SeriesR-b A-b
1/12R-b A-b
2/12
3/12A-b
4/12
5/12
6/12
7/12
8/12
9/12
10/12
11/12
12/12A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 00/12] libxl: split up libxl.c

libxl.c has become rather large. Split it up into multiple files.

Changes are:
- modification of Copyright comment (patch 1)
- made two functions non-static: libxl__get_memory_target(), xcinfo2xlinfo() (patch 2)
- white space cleanup of libxl.c (patch 3)
- moving functions into new or existing sources (patches 4-11):
just code movement, no functional changes besides needed Makefile adjustments for new sources
- made one function static: libxl__device_frontend_path() (patch 12)

Changes in V2:
- address comments of Ian Jackson: add new patches 1-3, 12

Juergen Gross (12):
libxl: adjust copyright comment of libxl.c
libxl: make some functions global to prepare splitting up libxl.c
libxl: white space cleanup
libxl: carve out cpupool specific functions from libxl.c
libxl: carve out scheduler specific functions from libxl.c
libxl: carve out disk specific functions from libxl.c
libxl: carve out console specific functions from libxl.c
libxl: carve out memory specific functions from libxl.c
libxl: move device specific functions out of libxl.c
libxl: carve out tmem specific functions from libxl.c
libxl: carve out domain specific functions from libxl.c
libxl: make one function static

 tools/libxl/Makefile         |    4 +-
 tools/libxl/libxl.c          | 6254 +-----------------------------------------
 tools/libxl/libxl_console.c  |  862 ++++++
 tools/libxl/libxl_cpupool.c  |  443 +++
 tools/libxl/libxl_device.c   |  416 ++-
 tools/libxl/libxl_disk.c     | 1258 +++++++++
 tools/libxl/libxl_domain.c   | 1744 ++++++++++++
 tools/libxl/libxl_internal.h |    8 +-
 tools/libxl/libxl_mem.c      |  601 ++++
 tools/libxl/libxl_sched.c    |  915 ++++++
 tools/libxl/libxl_tmem.c     |  167 ++
 11 files changed, 6417 insertions(+), 6255 deletions(-)
 create mode 100644 tools/libxl/libxl_console.c
 create mode 100644 tools/libxl/libxl_cpupool.c
 create mode 100644 tools/libxl/libxl_disk.c
 create mode 100644 tools/libxl/libxl_domain.c
 create mode 100644 tools/libxl/libxl_mem.c
 create mode 100644 tools/libxl/libxl_sched.c
 create mode 100644 tools/libxl/libxl_tmem.c
Signature · 7 lines
2.10.2


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