From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Dunlap Subject: Re: Xen PVUSB work Date: Mon, 19 Aug 2013 11:11:37 +0100 Message-ID: <5211EF59.7030802@eu.citrix.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4213059604740035616==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Shakil k Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org --===============4213059604740035616== Content-Type: multipart/alternative; boundary="------------060308050804080606070309" --------------060308050804080606070309 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit 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 --------------060308050804080606070309 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: 8bit
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

--------------060308050804080606070309-- --===============4213059604740035616== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============4213059604740035616==--