xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/12] libxl: split up libxl.c
@ 2017-02-09  9:30 Juergen Gross
  2017-02-09  9:30 ` [PATCH v2 01/12] libxl: adjust copyright comment of libxl.c Juergen Gross
                   ` (13 more replies)
  0 siblings, 14 replies; 23+ messages in thread
From: Juergen Gross @ 2017-02-09  9:30 UTC (permalink / raw)
  To: xen-devel
  Cc: Juergen Gross, haozhong.zhang, wei.liu2, zhangchen.fnst,
	ian.jackson, yi.y.sun

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

-- 
2.10.2


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

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2017-02-09 16:06 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-09  9:30 [PATCH v2 00/12] libxl: split up libxl.c Juergen Gross
2017-02-09  9:30 ` [PATCH v2 01/12] libxl: adjust copyright comment of libxl.c Juergen Gross
2017-02-09 10:18   ` Wei Liu
2017-02-09 11:37   ` Ian Jackson
2017-02-09  9:30 ` [PATCH v2 02/12] libxl: make some functions global to prepare splitting up libxl.c Juergen Gross
2017-02-09 11:36   ` Ian Jackson
2017-02-09 11:42     ` Juergen Gross
2017-02-09 15:44       ` Wei Liu
2017-02-09 16:06         ` Juergen Gross
2017-02-09  9:30 ` [PATCH v2 03/12] libxl: white space cleanup Juergen Gross
2017-02-09 11:37   ` Ian Jackson
2017-02-09  9:30 ` [PATCH v2 04/12] libxl: carve out cpupool specific functions from libxl.c Juergen Gross
2017-02-09  9:30 ` [PATCH v2 05/12] libxl: carve out scheduler " Juergen Gross
2017-02-09  9:30 ` [PATCH v2 06/12] libxl: carve out disk " Juergen Gross
2017-02-09  9:30 ` [PATCH v2 07/12] libxl: carve out console " Juergen Gross
2017-02-09  9:30 ` [PATCH v2 08/12] libxl: carve out memory " Juergen Gross
2017-02-09  9:30 ` [PATCH v2 09/12] libxl: move device specific functions out of libxl.c Juergen Gross
2017-02-09  9:30 ` [PATCH v2 10/12] libxl: carve out tmem specific functions from libxl.c Juergen Gross
2017-02-09  9:30 ` [PATCH v2 11/12] libxl: carve out domain " Juergen Gross
2017-02-09  9:30 ` [PATCH v2 12/12] libxl: make one function static Juergen Gross
2017-02-09 11:42   ` Ian Jackson
2017-02-09 10:22 ` [PATCH v2 00/12] libxl: split up libxl.c Wei Liu
2017-02-09 11:41 ` Ian Jackson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).