[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] mini-os: Fix xenbus initialisation



On 04/08/2010 02:25 PM, Samuel Thibault wrote:
> Jeremy Fitzhardinge, le Thu 08 Apr 2010 12:13:41 -0700, a écrit :
>   
>> Reverting this change (b20f897d6010) makes hvm+stubdom work again.
>>     
> Could you try to revert only parts of them?
>   

I narrowed it down to the first hunk of netfront part of the patch;
applying everything but this works, adding it causes the failure.

    J

diff -r e98537246fe5 extras/mini-os/netfront.c
--- a/extras/mini-os/netfront.c Thu Apr 08 15:23:00 2010 -0700
+++ b/extras/mini-os/netfront.c Thu Apr 08 15:23:39 2010 -0700
@@ -407,9 +407,9 @@
     }
 
     snprintf(path, sizeof(path), "%s/state", nodename);
-    err = xenbus_switch_state(xbt, path, XenbusStateConnected);
+    err = xenbus_switch_state(xbt, path, XenbusStateInitialised);
     if (err) {
-        message = "switching state";
+        printk("error writing net initialized: %s\n", err);
         goto abort_transaction;
     }
 



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.