Skip to content

Some cleanup of libxl

Anthony PERARD xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 18 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15libxl: Rename struct libxl_device_type to libxl__device_typetools/libxl/libxl_create.c tools/libxl/libxl_device.c tools/libxl/libxl_dm.c +3 more+35 -341 reply
2/15libxl: Remove unused variable in libxl__device_pci_add_xenstoretools/libxl/libxl_pci.c+0 -41 reply
3/15libxl_pci: Make libxl__create_pci_backend statictools/libxl/libxl_internal.h tools/libxl/libxl_pci.c+2 -41 reply
4/15libxl_pci: Constify arg `pcidev' of libxl__device_pci_add_xenstoretools/libxl/libxl_pci.c+12 -91 reply
5/15libxl_pci: `starting' is a booltools/libxl/libxl_internal.h tools/libxl/libxl_pci.c+10 -71 reply
6/15libxl_dom_save: Reorder functions for switch_qemu_logdirtytools/libxl/libxl_dom_save.c+89 -791 reply
7/15libxl_dm: Fix initialisation of libxl__stub_dm_spawn_statetools/libxl/libxl_dm.c+4 -21 reply
8/15libxl: Comment libxl__dm_spawn_state aboud init and disposetools/libxl/libxl_internal.h+2 -01 reply
9/15libxl_domain: Cleanup libxl__destroy_domidtools/libxl/libxl_domain.c+6 -121 reply
10/15libxl_usb: Use proper domid value, from libxl__devicetools/libxl/libxl_usb.c+1 -11 reply
11/15libxl_usb: Fix wrong usage of assertstools/libxl/libxl_usb.c+2 -25 replies
12/15libxl_usb: Fix libxl_device_usbctrl_getinfotools/libxl/libxl.h tools/libxl/libxl_usb.c+4 -41 reply
13/15libxl: Constify libxl_device_* param of *_getinfotools/libxl/libxl.h tools/libxl/libxl_console.c tools/libxl/libxl_disk.c +5 more+17 -151 reply
14/15libxl_usb: usbctrl, make use of generic device handling functionstools/libxl/libxl_usb.c+32 -901 reply
15/15libxl_usb: Use usbctrl instead of usbctrlinfotools/libxl/libxl_usb.c+13 -361 reply

Reviews trailers per patch

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

PatchIan Jackson
1/15A-b
2/15A-b
3/15A-b
4/15A-b
5/15A-b
6/15A-b
7/15A-b
8/15A-b
9/15A-b
10/15A-b
11/15A-b
12/15A-b
13/15A-b
14/15A-b
15/15A-b

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

Read the v1 thread

Cover letter [Xen-devel] [PATCH 00/15] Some cleanup of libxl

Hi,

This series contains cleanup patches, ahead of a series that's going to make more changes to libxl.

Anthony PERARD (15):
libxl: Rename struct libxl_device_type to libxl__device_type
libxl: Remove unused variable in libxl__device_pci_add_xenstore
libxl_pci: Make libxl__create_pci_backend static
libxl_pci: Constify arg `pcidev' of libxl__device_pci_add_xenstore
libxl_pci: `starting' is a bool
libxl_dom_save: Reorder functions for switch_qemu_logdirty
libxl_dm: Fix initialisation of libxl__stub_dm_spawn_state
libxl: Comment libxl__dm_spawn_state aboud init and dispose
libxl_domain: Cleanup libxl__destroy_domid
libxl_usb: Use proper domid value, from libxl__device
libxl_usb: Fix wrong usage of asserts
libxl_usb: Fix libxl_device_usbctrl_getinfo
libxl: Constify libxl_device_* param of *_getinfo
libxl_usb: usbctrl, make use of generic device handling functions
libxl_usb: Use usbctrl instead of usbctrlinfo

 tools/libxl/libxl.h          |  16 +--
 tools/libxl/libxl_console.c  |   2 +-
 tools/libxl/libxl_create.c   |   4 +-
 tools/libxl/libxl_device.c   |  10 +-
 tools/libxl/libxl_disk.c     |   3 +-
 tools/libxl/libxl_dm.c       |   8 +-
 tools/libxl/libxl_dom_save.c | 168 +++++++++++++++++---------------
 tools/libxl/libxl_domain.c   |  20 ++--
 tools/libxl/libxl_internal.c |   2 +-
 tools/libxl/libxl_internal.h |  56 +++++------
 tools/libxl/libxl_nic.c      |   3 +-
 tools/libxl/libxl_pci.c      |  39 ++++----
 tools/libxl/libxl_usb.c      | 183 ++++++++++-------------------------
 tools/libxl/libxl_vdispl.c   |   2 +-
 tools/libxl/libxl_vkb.c      |   2 +-
 tools/libxl/libxl_vsnd.c     |   4 +-
 tools/libxl/libxl_vtpm.c     |   2 +-
 17 files changed, 227 insertions(+), 297 deletions(-)
Signature · 10 lines
Anthony PERARD


Patch series available in this git branch:
https://xenbits.xen.org/git-http/people/aperard/xen-unstable.git br.libxl-cleanup-v1

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