* Xen PVUSB work
@ 2013-08-16 22:34 Shakil k
2013-08-19 10:11 ` George Dunlap
0 siblings, 1 reply; 9+ messages in thread
From: Shakil k @ 2013-08-16 22:34 UTC (permalink / raw)
To: george.dunlap, xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 1456 bytes --]
Hi George,
Can you let me know the required work needed in the area of libxl/xl
PVUSB also if you have any documents or suggestion, then please pass on to
me.
-Shakil
On 15/08/13 19:18, Pasi Kärkkäinen wrote:
> On Wed, Aug 14, 2013 at 09:27:42PM +0000, Khan, Shakil wrote:
>> Hi Pasi,
>>
> Hi!
>
> Hopefully you don't mind that I added George and Konrad to CC list..
>
>> I have recently started working on Xen Hypervisor for one of the HP
>> products based on xen and was navigating through the list of
projects and
>> thought that I might be interested in working on "Implement Xen PVUSB
>> support in xl/libxl toolstack"
>>
>> If you are in need of people and think I would be able to take up
this
>> work then we can discuss this further.
>>
>> Please let me know your views and project status.
>>
> Help with PVUSB is definitely needed!
>
> I think George did some preliminary work for Xen 4.3 release with
> generic USB passthru with xl/libxl, and you should be able to leverage
and extend that to add PVUSB support to libxl/xl.
>
> Konrad has a PVUSB driver in his Linux kernel git tree.
>
> I think it's best to discuss libxl/xl PVUSB related topics on xen-devel
mailinglist.
Definitely please mention this on the mailing list. I have some comments /
suggestions but I'll save them for the list.
-George
[-- Attachment #1.2: Type: text/html, Size: 2197 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Xen PVUSB work
2013-08-16 22:34 Xen PVUSB work Shakil k
@ 2013-08-19 10:11 ` George Dunlap
2013-08-19 10:28 ` Pasi Kärkkäinen
0 siblings, 1 reply; 9+ messages in thread
From: George Dunlap @ 2013-08-19 10:11 UTC (permalink / raw)
To: Shakil k; +Cc: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 1862 bytes --]
On 16/08/13 23:34, Shakil k wrote:
>
> Hi George,
>
> Can you let me know the required work needed in the area of libxl/xl
> PVUSB also if you have any documents or suggestion, then please pass
> on to me.
>
There are two things that need work, actually:
* Linux kernel side of the PVUSB.
There is a PVUSB implimentation in SuSE's "classic Xen" kernel that some
people have been able to use, but there are reports that it can be a bit
flaky. There is no PVUSB kernel support in mainline Linux. There was
an initial port some time ago (Konrad can point you to the tree), but it
needs to be rebased, fixed, and upstreamed. If you have the time and
inclination, this is probably the most critical part to getting PVUSB
working for 4.4, as it's something the rest of us definitely don't have
time to do.
* The toolstack side
Near the end of 4.3 we were developing a general interface for adding
host USB devices. The interface was designed to be able to support
either HVM or PV guests. It didn't make it in on time, but it's close
to being done, and I fully expect that I can get it in for 4.4. The
patch series I was working on would have implemented only HVM guests, it
should be fairly easy to extend for PV guests.
I probably won't have time to work on it for about a month or so; if the
kernel side isn't your cup of tea, you'd be welcome to pick up that
patch series and try to get it in shape for submission, then add the
necessary PV bits.
Patch series here:
http://lists.xen.org/archives/html/xen-devel/2013-04/msg02012.html
Let me know if you do decide to go this route, and I can post the code
which partially addresses those comments.
Information on steps required to initiate the PV USB connection given a
working PVUSB front-end and back-end here:
http://www.neobiker.de/wiki/index.php?title=XEN-PVUSB
-George
[-- Attachment #1.2: Type: text/html, Size: 2831 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Xen PVUSB work
2013-08-19 10:11 ` George Dunlap
@ 2013-08-19 10:28 ` Pasi Kärkkäinen
2013-08-19 15:04 ` Konrad Rzeszutek Wilk
0 siblings, 1 reply; 9+ messages in thread
From: Pasi Kärkkäinen @ 2013-08-19 10:28 UTC (permalink / raw)
To: George Dunlap; +Cc: Shakil k, xen-devel
On Mon, Aug 19, 2013 at 11:11:37AM +0100, George Dunlap wrote:
>
> There are two things that need work, actually:
>
> * Linux kernel side of the PVUSB.
>
> There is a PVUSB implimentation in SuSE's "classic Xen" kernel that some
> people have been able to use, but there are reports that it can be a bit
> flaky. There is no PVUSB kernel support in mainline Linux. There was an
> initial port some time ago (Konrad can point you to the tree), but it
> needs to be rebased, fixed, and upstreamed. If you have the time and
> inclination, this is probably the most critical part to getting PVUSB
> working for 4.4, as it's something the rest of us definitely don't have
> time to do.
>
Konrad can confirm, but I think it's this:
devel/xen-usb.v1.1 in git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git
> * The toolstack side
>
> Near the end of 4.3 we were developing a general interface for adding host
> USB devices. The interface was designed to be able to support either HVM
> or PV guests. It didn't make it in on time, but it's close to being done,
> and I fully expect that I can get it in for 4.4. The patch series I was
> working on would have implemented only HVM guests, it should be fairly
> easy to extend for PV guests.
>
> I probably won't have time to work on it for about a month or so; if the
> kernel side isn't your cup of tea, you'd be welcome to pick up that patch
> series and try to get it in shape for submission, then add the necessary
> PV bits.
>
Just to add something.. PVUSB supported can be implemented for both pure PV domUs
and HVM guests (HVM guest with PV drivers).
So if you're running an HVM guest you can choose to do the "qemu USB emulation" passthru,
or PVUSB passthru, assuming your HVM guest has the needed PVUSB frontend driver
(such as GPLPV for Windows, or the Linux PVUSB usbfront).
-- Pasi
> Patch series here:
>
> [1]http://lists.xen.org/archives/html/xen-devel/2013-04/msg02012.html
>
> Let me know if you do decide to go this route, and I can post the code
> which partially addresses those comments.
>
> Information on steps required to initiate the PV USB connection given a
> working PVUSB front-end and back-end here:
>
> [2]http://www.neobiker.de/wiki/index.php?title=XEN-PVUSB
>
> -George
>
> References
>
> Visible links
> 1. http://lists.xen.org/archives/html/xen-devel/2013-04/msg02012.html
> 2. http://www.neobiker.de/wiki/index.php?title=XEN-PVUSB
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Xen PVUSB work
2013-08-19 10:28 ` Pasi Kärkkäinen
@ 2013-08-19 15:04 ` Konrad Rzeszutek Wilk
0 siblings, 0 replies; 9+ messages in thread
From: Konrad Rzeszutek Wilk @ 2013-08-19 15:04 UTC (permalink / raw)
To: Pasi Kärkkäinen; +Cc: George Dunlap, Shakil k, xen-devel
On Mon, Aug 19, 2013 at 01:28:10PM +0300, Pasi Kärkkäinen wrote:
> On Mon, Aug 19, 2013 at 11:11:37AM +0100, George Dunlap wrote:
> >
> > There are two things that need work, actually:
> >
> > * Linux kernel side of the PVUSB.
> >
> > There is a PVUSB implimentation in SuSE's "classic Xen" kernel that some
> > people have been able to use, but there are reports that it can be a bit
> > flaky. There is no PVUSB kernel support in mainline Linux. There was an
> > initial port some time ago (Konrad can point you to the tree), but it
> > needs to be rebased, fixed, and upstreamed. If you have the time and
> > inclination, this is probably the most critical part to getting PVUSB
> > working for 4.4, as it's something the rest of us definitely don't have
> > time to do.
> >
>
> Konrad can confirm, but I think it's this:
> devel/xen-usb.v1.1 in git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git
That is it. I owe a list of the issues I know that the driver has -
should post them tomorrow.
>
>
> > * The toolstack side
> >
> > Near the end of 4.3 we were developing a general interface for adding host
> > USB devices. The interface was designed to be able to support either HVM
> > or PV guests. It didn't make it in on time, but it's close to being done,
> > and I fully expect that I can get it in for 4.4. The patch series I was
> > working on would have implemented only HVM guests, it should be fairly
> > easy to extend for PV guests.
> >
> > I probably won't have time to work on it for about a month or so; if the
> > kernel side isn't your cup of tea, you'd be welcome to pick up that patch
> > series and try to get it in shape for submission, then add the necessary
> > PV bits.
> >
>
> Just to add something.. PVUSB supported can be implemented for both pure PV domUs
> and HVM guests (HVM guest with PV drivers).
>
> So if you're running an HVM guest you can choose to do the "qemu USB emulation" passthru,
> or PVUSB passthru, assuming your HVM guest has the needed PVUSB frontend driver
> (such as GPLPV for Windows, or the Linux PVUSB usbfront).
>
>
> -- Pasi
>
> > Patch series here:
> >
> > [1]http://lists.xen.org/archives/html/xen-devel/2013-04/msg02012.html
> >
> > Let me know if you do decide to go this route, and I can post the code
> > which partially addresses those comments.
> >
> > Information on steps required to initiate the PV USB connection given a
> > working PVUSB front-end and back-end here:
> >
> > [2]http://www.neobiker.de/wiki/index.php?title=XEN-PVUSB
> >
> > -George
> >
> > References
> >
> > Visible links
> > 1. http://lists.xen.org/archives/html/xen-devel/2013-04/msg02012.html
> > 2. http://www.neobiker.de/wiki/index.php?title=XEN-PVUSB
^ permalink raw reply [flat|nested] 9+ messages in thread
* Xen PVUSB work
@ 2014-04-14 6:17 Chunyan Liu
2014-04-14 9:05 ` Ian Campbell
2014-04-15 8:28 ` George Dunlap
0 siblings, 2 replies; 9+ messages in thread
From: Chunyan Liu @ 2014-04-14 6:17 UTC (permalink / raw)
To: xen-devel@lists.xensource.com
[-- Attachment #1.1: Type: text/plain, Size: 411 bytes --]
Hi, List,
I found a thread in last August discussing about Xen PVUSB work status:
http://lists.xen.org/archives/html/xen-devel/2013-08/msg01807.html
>From this thread, there was patch series to support HVM and still need work
to
support PV. But I don't see such changes in current xen git master.
Does anyone know what's the current status? Is there any update to this work
in past months?
Regards,
Chunyan
[-- Attachment #1.2: Type: text/html, Size: 640 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Xen PVUSB work
2014-04-14 6:17 Chunyan Liu
@ 2014-04-14 9:05 ` Ian Campbell
2014-04-15 8:29 ` George Dunlap
2014-04-15 8:28 ` George Dunlap
1 sibling, 1 reply; 9+ messages in thread
From: Ian Campbell @ 2014-04-14 9:05 UTC (permalink / raw)
To: Chunyan Liu; +Cc: xen-devel@lists.xensource.com
CCing George who was looking into this.
On Mon, 2014-04-14 at 14:17 +0800, Chunyan Liu wrote:
> Hi, List,
>
>
> I found a thread in last August discussing about Xen PVUSB work
> status:
> http://lists.xen.org/archives/html/xen-devel/2013-08/msg01807.html
>
>
> From this thread, there was patch series to support HVM and still need
> work to
> support PV. But I don't see such changes in current xen git master.
>
> Does anyone know what's the current status? Is there any update to
> this work
> in past months?
>
>
> Regards,
> Chunyan
>
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Xen PVUSB work
2014-04-14 6:17 Chunyan Liu
2014-04-14 9:05 ` Ian Campbell
@ 2014-04-15 8:28 ` George Dunlap
1 sibling, 0 replies; 9+ messages in thread
From: George Dunlap @ 2014-04-15 8:28 UTC (permalink / raw)
To: Chunyan Liu; +Cc: xen-devel@lists.xensource.com
On Mon, Apr 14, 2014 at 7:17 AM, Chunyan Liu <cyliu@suse.com> wrote:
> Hi, List,
>
> I found a thread in last August discussing about Xen PVUSB work status:
> http://lists.xen.org/archives/html/xen-devel/2013-08/msg01807.html
>
> From this thread, there was patch series to support HVM and still need work
> to
> support PV. But I don't see such changes in current xen git master.
>
> Does anyone know what's the current status? Is there any update to this work
> in past months?
Just to be clear, there are four things here:
1. A useful, general framework for USB in libxl
2. libxl support for emulated USB hotplug
3. libxl support for PVUSB
4. Linux support for PVUSB
#2 was what I was trying to work on about a year ago; it depends,
however, on #1. In fact, both #2 and #3 should be fairly trivial once
#1 is implemented. We made quite a bit of headway on #1, but ended up
having to stop for the 4.3 release, and I haven't had time to go back
to it yet.
We have a GSoC student who want to implement #3, so he'll probably end
up doing at least #1 and #3, possibly #2 (since the code is already
basically done).
The big thing need with PVUSB, as far as I can tell, is #4: the
frontend and backend drivers are not in upstream Linux yet, and
everyone says that even the drivers in "classic Xen" aren't really all
that great.
Does that answer your question?
-George
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Xen PVUSB work
2014-04-14 9:05 ` Ian Campbell
@ 2014-04-15 8:29 ` George Dunlap
2014-04-15 9:03 ` Ian Campbell
0 siblings, 1 reply; 9+ messages in thread
From: George Dunlap @ 2014-04-15 8:29 UTC (permalink / raw)
To: Ian Campbell; +Cc: xen-devel@lists.xensource.com, Chunyan Liu
On Mon, Apr 14, 2014 at 10:05 AM, Ian Campbell <Ian.Campbell@citrix.com> wrote:
> CCing George who was looking into this.
Except you didn't actually CC me. ;-)
-George
>
> On Mon, 2014-04-14 at 14:17 +0800, Chunyan Liu wrote:
>> Hi, List,
>>
>>
>> I found a thread in last August discussing about Xen PVUSB work
>> status:
>> http://lists.xen.org/archives/html/xen-devel/2013-08/msg01807.html
>>
>>
>> From this thread, there was patch series to support HVM and still need
>> work to
>> support PV. But I don't see such changes in current xen git master.
>>
>> Does anyone know what's the current status? Is there any update to
>> this work
>> in past months?
>>
>>
>> Regards,
>> Chunyan
>>
>>
>>
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xen.org
>> http://lists.xen.org/xen-devel
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Xen PVUSB work
2014-04-15 8:29 ` George Dunlap
@ 2014-04-15 9:03 ` Ian Campbell
0 siblings, 0 replies; 9+ messages in thread
From: Ian Campbell @ 2014-04-15 9:03 UTC (permalink / raw)
To: George Dunlap; +Cc: xen-devel@lists.xensource.com, Chunyan Liu
On Tue, 2014-04-15 at 09:29 +0100, George Dunlap wrote:
> On Mon, Apr 14, 2014 at 10:05 AM, Ian Campbell <Ian.Campbell@citrix.com> wrote:
> > CCing George who was looking into this.
>
> Except you didn't actually CC me. ;-)
Doh!
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2014-04-15 9:03 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-16 22:34 Xen PVUSB work Shakil k
2013-08-19 10:11 ` George Dunlap
2013-08-19 10:28 ` Pasi Kärkkäinen
2013-08-19 15:04 ` Konrad Rzeszutek Wilk
-- strict thread matches above, loose matches on Subject: below --
2014-04-14 6:17 Chunyan Liu
2014-04-14 9:05 ` Ian Campbell
2014-04-15 8:29 ` George Dunlap
2014-04-15 9:03 ` Ian Campbell
2014-04-15 8:28 ` George Dunlap
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.