xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Juergen Gross <jgross@suse.com>
To: xen-devel@lists.xen.org
Cc: George.Dunlap@eu.citrix.com, wei.liu2@citrix.com,
	ian.jackson@eu.citrix.com, Juergen Gross <jgross@suse.com>
Subject: [PATCH 0/6] libxl: add HVM USB passthrough capability
Date: Thu,  8 Sep 2016 09:20:20 +0200	[thread overview]
Message-ID: <1473319226-27221-1-git-send-email-jgross@suse.com> (raw)

Add the capability to pass USB devices to HVM domains by using the
emulation of USB controllers of qemu.

The user interface via xl is the same as for pvusb passthrough, only
the type of the usbctrl is different: instead of "qusb" (qemu-based
pvusb backend) or "vusb" (kernel-based pvusb backend) the type
"devicemodel" is used.

Especially the communication with qemu via qmp commands is based on
the patches of George Dunlap sent in 2014:

https://lists.xen.org/archives/html/xen-devel/2014-06/msg00085.html

Juergen Gross (6):
  libxl: rename libcl_pvusb.c to libxl_usb.c
  libxl: add libxl__qmp_run_command_flexarray() function
  libxl: dont pass array size to libxl__xs_kvs_of_flexarray()
  libxl: add basic support for devices without backend
  libxl: add HVM usb passthrough support
  docs: add HVM USB passthrough documentation

 docs/man/xl.cfg.pod.5.in                   |  12 +-
 tools/libxl/Makefile                       |   2 +-
 tools/libxl/libxl.c                        |  22 +-
 tools/libxl/libxl_device.c                 |  62 +++--
 tools/libxl/libxl_internal.h               |   5 +-
 tools/libxl/libxl_nic.c                    |   6 +-
 tools/libxl/libxl_pci.c                    |   7 +-
 tools/libxl/libxl_qmp.c                    |  16 ++
 tools/libxl/libxl_types_internal.idl       |   1 +
 tools/libxl/{libxl_pvusb.c => libxl_usb.c} | 423 ++++++++++++++++++++++-------
 tools/libxl/libxl_vtpm.c                   |   6 +-
 tools/libxl/libxl_xshelp.c                 |   8 +-
 tools/libxl/xl_cmdimpl.c                   |   4 +-
 13 files changed, 429 insertions(+), 145 deletions(-)
 rename tools/libxl/{libxl_pvusb.c => libxl_usb.c} (80%)

-- 
2.6.6


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

             reply	other threads:[~2016-09-08  7:20 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-08  7:20 Juergen Gross [this message]
2016-09-08  7:20 ` [PATCH 1/6] libxl: rename libcl_pvusb.c to libxl_usb.c Juergen Gross
2016-09-09 10:00   ` Wei Liu
2016-09-08  7:20 ` [PATCH 2/6] libxl: add libxl__qmp_run_command_flexarray() function Juergen Gross
2016-09-09 10:00   ` Wei Liu
2016-09-08  7:20 ` [PATCH 3/6] libxl: dont pass array size to libxl__xs_kvs_of_flexarray() Juergen Gross
2016-09-09 10:00   ` Wei Liu
2016-09-12  9:18     ` Wei Liu
2016-09-08  7:20 ` [PATCH 4/6] libxl: add basic support for devices without backend Juergen Gross
2016-09-15 15:17   ` Wei Liu
2016-09-08  7:20 ` [PATCH 5/6] libxl: add HVM usb passthrough support Juergen Gross
2016-09-09 10:00   ` Wei Liu
2016-09-09 10:13     ` Juergen Gross
2016-09-15 14:22       ` Wei Liu
2016-09-12  8:51     ` George Dunlap
2016-09-15 15:38   ` Wei Liu
2016-09-16  8:51     ` Juergen Groß
2016-09-16 11:28       ` Wei Liu
2016-09-08  7:20 ` [PATCH 6/6] docs: add HVM USB passthrough documentation Juergen Gross
2016-09-15 15:38   ` Wei Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1473319226-27221-1-git-send-email-jgross@suse.com \
    --to=jgross@suse.com \
    --cc=George.Dunlap@eu.citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).