WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] RE: GPLPV on NetBSD dom0

To: "Dustin Marquess" <dmarquess@xxxxxxxxx>, "xen-users" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] RE: GPLPV on NetBSD dom0
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Wed, 9 Jun 2010 11:41:02 +1000
Cc:
Delivery-date: Tue, 08 Jun 2010 18:43:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTikYdo3ozbev8qNXWYOXhF9GWUQWRKtGWMT2Kn7f@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTikYdo3ozbev8qNXWYOXhF9GWUQWRKtGWMT2Kn7f@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcsHR4bCOI9iKa+9S/a10+PHPi7V3QALSoYw
Thread-topic: GPLPV on NetBSD dom0
> As a quick kludge, in XenPci_ChangeFrontendState() before the while()
loop I
> added:
> 
>   if ((backend_state_response ==
XenbusStateInitWait)&&(xppdd->backend_state
> == XenbusStateConnected))
>           backend_state_response = XenbusStateConnected;
> 
> After recompiling the drivers and loading them, everything appears to
work
> fine.
> 
> So my question is, is this a NetBSD bug (bringing the devices up to
the the
> wrong state too early), or it is a GPLPV bug?  I tried comparing the
NetBSD
> Xen kernel code against the code in the Linux kernel and I didn't see
anything
> that stood out.  If it's a NetBSD problem, I'll open a PR in their bug
system.
> 

Well if a Linux frontend works with a NetBSD backend and the other way
around then I'd be confident that the bugs are in GPLPV. The state
transitions are a bit different between net and vbd but I've never quite
figured out exactly where the problem is.

James

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>