All of lore.kernel.org
 help / color / mirror / Atom feed
From: George Dunlap <george.dunlap@eu.citrix.com>
To: Stefan <sstanisi@cbnco.com>
Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>,
	xen-devel <xen-devel@lists.xen.org>
Subject: Re: [PATCH RFC] libxl: Introduce functions to add and remove USB devices to an HVM guest
Date: Wed, 10 Apr 2013 14:55:53 +0100	[thread overview]
Message-ID: <51656F69.4020101@eu.citrix.com> (raw)
In-Reply-To: <51656DEF.1070103@cbnco.com>

On 10/04/13 14:49, Stefan wrote:
> I've been following this thread with interest. Having USB passthrough
> for xl will certainly be an appreciated feature.
>
> Provided a USB-device structure, enabling PVUSB is almost only a matter
> of writing to the xenstore. Please have a look at this script:
> http://www.neobiker.de/wiki/index.php?title=XEN-PVUSB
>
> It's a shell script that does the work. Of course, there's also a python
> implementation in the GIT. Perhaps we could at least have a USB-device
> structure before the feature freeze? Can you make the code that we have
> available? I'd like to see if I can do something with it, instead of
> having to start from nothing.

I'm working hard to try to get "devicemodel" USB hot-plug working, and 
that involves getting a forward-compatible structure and everything 
ready to add PV as an optional protocol.

If things go as planned, then adding PVUSB support should just be a 
matter of:
* Adding a handler for PVUSB in libxl_usb.c:do_usb_add()
* Adding a command-line option to specify PVUSB even for HVM guests

I should have a rough draft ready for you to try to hack within 24 hours.

  -George

  reply	other threads:[~2013-04-10 13:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-10 13:49 [PATCH RFC] libxl: Introduce functions to add and remove USB devices to an HVM guest Stefan
2013-04-10 13:55 ` George Dunlap [this message]
2013-04-10 14:07   ` jacek burghardt
2013-04-10 14:43     ` George Dunlap
2013-04-10 15:19       ` Stefan
2013-04-10 15:49         ` jacek burghardt
  -- strict thread matches above, loose matches on Subject: below --
2013-04-08 17:05 George Dunlap
2013-04-09 14:14 ` Ian Jackson
2013-04-09 16:21   ` George Dunlap
2013-04-09 16:30     ` Ian Jackson
2013-04-09 17:31       ` George Dunlap
2013-04-09 18:19         ` Ian Jackson

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=51656F69.4020101@eu.citrix.com \
    --to=george.dunlap@eu.citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=sstanisi@cbnco.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 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.