From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ajmal M Ali Subject: Re: USB Passthrough support X86_64 Date: Thu, 3 Aug 2017 14:48:02 +0530 Message-ID: References: <20170721082837.vnhiquftasun5dgm@citrix.com> <20170721084728.GK24459@reaktio.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2572973230700417859==" Return-path: In-Reply-To: <20170721084728.GK24459@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Xen Maillist Cc: George Dunlap , Juergen Gross , Wei Liu List-Id: xen-devel@lists.xenproject.org --===============2572973230700417859== Content-Type: multipart/alternative; boundary="94eb2c1471aa88f0480555d5dbd8" --94eb2c1471aa88f0480555d5dbd8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On 21-Jul-2017 2:17 PM, "Pasi K=C3=A4rkk=C3=A4inen" wrote: > On Fri, Jul 21, 2017 at 10:39:36AM +0200, Juergen Gross wrote: > > > > > > USB passthrough requires the device model. There is currently no > > > provision in toolstack to spawn a device model on demand. > > > > > > The easiest workaround is to add one device (vfb?) that would require > > > spawning a device model when creating the domain. > > > > > >> > > >> i am trying to hotplug my usb. I haveint made any changes in the > config > > >> file, as i assumed it wont be needed for hotplug, also i didnt have > to do > > >> it for pci passthrough. Should i? > > >> > > >> Also, i cannot find any usbback and frond in my PC. > > > > Uuh, yes. I've sent some patches to LKML for pvUSB frontend support > > about 2 years ago: > > > > https://lists.xen.org/archives/html/xen-devel/2015-06/msg03436.html > > > > I didn't find any time since then to address all comments. Maybe I > > should finish that task... > > > > That'd be awesome! :) > > > The patches should still work fine, AFAIK. > > > > Good to know. > > > -- Pasi > > > > > Juergen > > > > --94eb2c1471aa88f0480555d5dbd8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On 21-Jul-2017 2:17 PM, "Pasi K=C3=A4rkk=C3=A4inen" <pasik@iki.fi> wrote:
On Fri, Jul 21, 2017 at 10:39:36AM +0= 200, Juergen Gross wrote:
> >
> > USB passthrough requires the device model. There is currently no<= br> > > provision in toolstack to spawn a device model on demand.
> >
> > The easiest workaround is to add one device (vfb?) that would req= uire
> > spawning a device model when creating the domain.
> >
> >>
> >> i am trying to hotplug my usb. I haveint made any changes in = the config
> >> file, as i assumed it wont be needed for hotplug, also i didn= t have to do
> >> it for pci passthrough. Should i?
> >>
> >> Also, i cannot find any usbback and frond in my PC.
>
> Uuh, yes. I've sent some patches to LKML for pvUSB frontend suppor= t
> about 2 years ago:
>
> https://lists.xen.org/a= rchives/html/xen-devel/2015-06/msg03436.html
>
> I didn't find any time since then to address all comments. Maybe I=
> should finish that task...
>

That'd be awesome! :)

> The patches should still work fine, AFAIK.
>

Good to know.


-- Pasi

>
> Juergen
>

--94eb2c1471aa88f0480555d5dbd8-- --===============2572973230700417859== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============2572973230700417859==--