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-ia64-devel

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

To: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Subject: Re: [Xen-ia64-devel] Re: [PATCH] Patch to make latest hg multi-domain back to work
From: John Byrne <john.l.byrne@xxxxxx>
Date: Fri, 02 Sep 2005 15:23:03 -0700
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 02 Sep 2005 22:20:56 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4318C3E3.9020901@xxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <516F50407E01324991DD6D07B0531AD5695620@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <4318C3E3.9020901@xxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050716)
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
<Prev in Thread] Current Thread [Next in Thread>