This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] Re: pvusb drivers for pvops 2.6.32.x kernel

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Re: pvusb drivers for pvops 2.6.32.x kernel
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Mon, 3 Jan 2011 13:41:33 +0200
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Delivery-date: Mon, 03 Jan 2011 03:42:46 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)

Jeremy: See the included patch. If it's OK it'd be nice
to get it into xen/stable-2.6.32.x branch.

Thanks Nathanael!

-- Pasi

----- Forwarded message from Nathanael Rensen <nathanael@xxxxxxxxxxxxxxxx> -----

From: Nathanael Rensen <nathanael@xxxxxxxxxxxxxxxx>
To: Pasi Kärkkäinen <pasik@xxxxxx>
Cc: n_iwamatsu@xxxxxxxxxxxxxx
Date: Mon, 3 Jan 2011 19:32:23 +0800
Subject: Re: pvusb for pvops

On 1 January 2011 23:19, Nathanael Rensen <nathanael@xxxxxxxxxxxxxxxx> wrote:
> On 1 January 2011 22:43, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
>> On Sat, Jan 01, 2011 at 03:10:58AM +0800, Nathanael Rensen wrote:
>>> Hi Noboru,
>>> In case it is helpful ...
>>> I've attached a diff that adds the pvusb drivers to the debian squeeze
>>> 2.6.32 pvops kernel.
>>> So far I've only tested with a USB drive on xen 4.0.1 between debian
>>> squeeze pvops dom0 and
>>> debian squeeze pvops domU.
>>> The diff is based on the SLES SP1 diffs posted here:
>>>   http://code.google.com/p/gentoo-xen-kernel/downloads/list
>>> It almost applies cleanly to xen/stable-2.6.32.x except for the patch to
>>> include/xen/interface/io/ring.h which is not required for 
>>> xen/stable-2.6.32.x.
>>> I haven't tested the xen/stable-2.6.32.x kernel though.
>> Great, thanks!
>> Is it OK to forward this email to xen-devel mailinglist?
>> Btw did you check from novell's kernel git tree if there
>> has been fixes to the pvusb code after that patch on
>> code.google.com was posted?
>> -- Pasi
> For sure, you're welcome to forward it, but maybe hold off a bit because
> I've refactored the pvusb frontend code to be consistent with the way the
> other frontend drivers are within the pvops tree. I'll also take a look at
> Novell's tree to check for updates.
> I'll do some testing on a kernel built from the pvops stable-2.6.32.x tree
> and send an updated diff against that tree in the next couple of days.
> Nathanael

I've attached an updated diff against the pvops xen/stable-2.6.32.x tree.
I've tested by attaching an af9015 USB TV tuner to a pvops domu from
a pvops dom0 and recording a few hours of TV.

I also tried to attach various USB devices to a WinXP domu with GPLPV
drivers, but the domu kept crashing. That needs more investigation, but
I suspect a problem with the GPLPV drivers. I'm keen for that to be fixed,
but I don't have time immediately to dig into it.

I took a look at the patches at
and as far as I can tell, everything that relates to pvusb is included in the
attached patch.


----- End forwarded message -----

Attachment: pvusb-pvops-2.6.32.x.diff
Description: Text Data

Xen-devel mailing list