[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH RFC V2 0/5] pvusb toolstack work



This patch series is based on Simon's work. Since there is no progress
after last August, I hope we can make this work proceed. Any comment will
be very appreciated.

It adds pvusb toolstack implementation, with pvusb kernel side work,
one could attach/detach a usb device to guest.

Changes to Simon's work:
  - fix format issues
  - fix bind/unbind if usb device has multiple interfaces
  - add codes to update json config when hot add a usb device
  - reorganize and update libxl code to make it more readable.
  - split libxl code into several patches for easier review.
  - remove many unused APIs in libxl_internal.h and libxl.h
  - fix xl command implementation issues (many inconsistences
    between cmdtable and cmdimplementation) and update some
    command syntax
  - remove usb-assigned-list

  Known issues in testing:
  - specify 'usb' in vm config file, then create vm, usb controller state
    keeps in not connected; same result when hot add a usb device in
    vm booting process. But hot adding a usb device after vm is booted,
    works very well.
  - hot adding a usb device to 2.0 usb controller, usb device not working
    well in guest. But adding a usb device to 1.x usb controller, works well.

  These issues are also found with old xend toolstack.

Simon's Patches:
  http://lists.xen.org/archives/html/xen-devel/2014-08/msg01203.html

Chunyan Liu (5):
  libxl: add pvusb definitions
  libxl: export some functions for pvusb use
  libxl: add pvusb API
  xl: add pvusb commands
  domcreate: support pvusb in configuration file

 tools/libxl/Makefile                 |    2 +-
 tools/libxl/libxl.c                  |    8 +-
 tools/libxl/libxl.h                  |   58 ++
 tools/libxl/libxl_create.c           |   41 +-
 tools/libxl/libxl_internal.h         |   11 +
 tools/libxl/libxl_types.idl          |   58 +-
 tools/libxl/libxl_types_internal.idl |    1 +
 tools/libxl/libxl_usb.c              | 1277 ++++++++++++++++++++++++++++++++++
 tools/libxl/libxlu_cfg_y.c           |  464 ++++++------
 tools/libxl/libxlu_cfg_y.h           |   38 +-
 tools/libxl/xl.h                     |    6 +
 tools/libxl/xl_cmdimpl.c             |  296 +++++++-
 tools/libxl/xl_cmdtable.c            |   30 +
 13 files changed, 2058 insertions(+), 232 deletions(-)
 create mode 100644 tools/libxl/libxl_usb.c

-- 
1.8.4.5


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.