[00/15] Some cleanup of libxl
mbox series

Message ID 20190614112444.29980-1-anthony.perard@citrix.com
Headers show
Series
  • Some cleanup of libxl
Related show

Message

Anthony PERARD June 14, 2019, 11:24 a.m. UTC
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(-)

Comments

Anthony PERARD Sept. 19, 2019, 5:07 p.m. UTC | #1
On Fri, Jun 14, 2019 at 12:24:29PM +0100, Anthony PERARD wrote:
> Hi,
> 
> This series contains cleanup patches, ahead of a series that's going to make
> more changes to libxl.

v2 with patch 11 acked and the whole branch rebased pushed to:
https://xenbits.xen.org/git-http/people/aperard/xen-unstable.git br.libxl-cleanup-v2

All patches are acked.