All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC V2 0/5] pvusb toolstack work
@ 2015-01-19  8:28 Chunyan Liu
  2015-01-19  8:28 ` [PATCH RFC V2 1/5] libxl: add pvusb definitions Chunyan Liu
                   ` (5 more replies)
  0 siblings, 6 replies; 40+ messages in thread
From: Chunyan Liu @ 2015-01-19  8:28 UTC (permalink / raw)
  To: xen-devel
  Cc: lars.kurth, ian.campbell, george.dunlap, Chunyan Liu,
	ian.jackson, caobosimon

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

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

end of thread, other threads:[~2015-03-20  9:37 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-19  8:28 [PATCH RFC V2 0/5] pvusb toolstack work Chunyan Liu
2015-01-19  8:28 ` [PATCH RFC V2 1/5] libxl: add pvusb definitions Chunyan Liu
2015-03-03 11:10   ` Ian Campbell
2015-03-03 16:45     ` George Dunlap
2015-03-04  7:26     ` Chun Yan Liu
2015-03-04 10:00       ` Ian Campbell
2015-03-04 12:26         ` George Dunlap
2015-03-04 12:33           ` Ian Campbell
2015-03-05  5:04             ` Chun Yan Liu
2015-03-03 17:15   ` George Dunlap
2015-03-04  8:28     ` Chun Yan Liu
2015-03-04 14:41       ` George Dunlap
2015-03-05  6:07         ` Chun Yan Liu
2015-01-19  8:28 ` [PATCH RFC V2 2/5] libxl: export some functions for pvusb use Chunyan Liu
2015-03-03 11:10   ` Ian Campbell
2015-01-19  8:28 ` [PATCH RFC V2 3/5] libxl: add pvusb API Chunyan Liu
2015-01-28 15:54   ` Ian Campbell
2015-01-29  3:24     ` Chun Yan Liu
2015-02-10 10:08   ` Jürgen Groß
2015-02-10 16:01   ` Jürgen Groß
2015-03-03 11:38   ` Ian Campbell
2015-03-04  7:47     ` Chun Yan Liu
2015-03-06 16:50   ` George Dunlap
2015-03-09  9:39     ` Ian Campbell
2015-03-09 10:17       ` George Dunlap
2015-03-09 10:41         ` Ian Campbell
2015-03-20  9:37     ` Chun Yan Liu
2015-03-17 14:03   ` Juergen Gross
2015-01-19  8:28 ` [PATCH RFC V2 4/5] xl: add pvusb commands Chunyan Liu
2015-02-10  6:25   ` Jürgen Groß
2015-03-03 11:43   ` Ian Campbell
2015-03-04  7:48     ` Chun Yan Liu
2015-03-06 17:25   ` George Dunlap
2015-03-20  9:02     ` Chun Yan Liu
2015-01-19  8:28 ` [PATCH RFC V2 5/5] domcreate: support pvusb in configuration file Chunyan Liu
2015-03-03 11:44   ` Ian Campbell
2015-01-28 15:51 ` [PATCH RFC V2 0/5] pvusb toolstack work Ian Campbell
2015-01-28 16:07   ` Pasi Kärkkäinen
2015-01-28 16:17     ` Ian Campbell
2015-01-29  3:22   ` Chun Yan Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.