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 ofprojects 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 upthis>> 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 leverageand 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-develmailinglist. Definitely please mention this on the mailing list. I have some comments / suggestions but I''ll save them for the list. -George _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
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 <html> <head> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">On 16/08/13 23:34, Shakil k wrote:<br> </div> <blockquote cite="mid:CAGiEYNe2UDmom5Ptgj4bLs+uuhS0=LOXXDkrn6ZGnmTe3LmXGA@mail.gmail.com" type="cite"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <div dir="ltr"> <p class="">Hi George,</p> <p class="">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.</p> </div> </blockquote> <br> There are two things that need work, actually:<br> <br> * Linux kernel side of the PVUSB. <br> <br> 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.<br> <br> * The toolstack side<br> <br> 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.<br> <br> 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.<br> <br> Patch series here:<br> <br> <a class="moz-txt-link-freetext" href="http://lists.xen.org/archives/html/xen-devel/2013-04/msg02012.html">http://lists.xen.org/archives/html/xen-devel/2013-04/msg02012.html</a><br> <br> Let me know if you do decide to go this route, and I can post the code which partially addresses those comments.<br> <br> Information on steps required to initiate the PV USB connection given a working PVUSB front-end and back-end here:<br> <br> <a class="moz-txt-link-freetext" href="http://www.neobiker.de/wiki/index.php?title=XEN-PVUSB">http://www.neobiker.de/wiki/index.php?title=XEN-PVUSB</a><br> <br> -George<br> <br> </body> </html> --------------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==--
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
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.gitThat 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