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

Re: [Xen-ia64-devel] Re: [PATCH] Patch to make latest hg multi-domain back to work



John Byrne wrote:
Magenheimer, Dan (HP Labs Fort Collins) wrote:

From "/usr/sbin/xend start" (first time only):

 ERROR: do_evtchn_op: HYPERVISOR_event_channel_op failed: -1

From "/usr/sbin/xm create -c vmid=1 name=foo":

 Error: Error creating domain: invalid key 'type'


Well, I'm not doing much different than I was before we started the merge process, so I don't know what to tell you. The only different thing I know I am doing is that I have replaced /etc/xen/scripts/network-bridge with a null script to keep it from thrashing the networking.



I've specified nics=0.  Will that work instead?



I don't think so. The problem is that the "old" path in the script needs to be fixed. If it doesn't see veth0, it doesn't do good things. I'll look into fixing it.

<...snipped..>

Turns out the fix is a one-liner.

John
diff -r 3bbc9384be3f tools/examples/network-bridge
--- a/tools/examples/network-bridge     Fri Aug 26 17:57:09 2005
+++ b/tools/examples/network-bridge     Fri Sep  2 15:28:19 2005
@@ -210,6 +210,7 @@
        # old style without veth0
        transfer_addrs ${netdev} ${bridge}
         transfer_routes ${netdev} ${bridge}
+       add_to_bridge ${bridge} ${netdev}
     fi
     
     if [ ${antispoof} == 'yes' ] ; then
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

 


Rackspace

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