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-api

Re: [Xen-API] Re: Project KRONOS - Networking

To: Paul Durrant <Paul.Durrant@xxxxxxxxxx>
Subject: Re: [Xen-API] Re: Project KRONOS - Networking
From: Sébastien Riccio <sr@xxxxxxxxxxxxxxx>
Date: Sat, 03 Sep 2011 12:23:22 +0200
Cc: Jonathan Ludlam <Jonathan.Ludlam@xxxxxxxxxxxxx>, "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 03 Sep 2011 03:24:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <291EDFCB1E9E224A99088639C4762022B44F046987@xxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <4E5F88CC.6040104@xxxxxxxxxxxxxxx> <C28EE874-E850-4589-8725-F60F0B5EBA2B@xxxxxxxxxxxxx> <4E6026BC.3030206@xxxxxxxxxxxxxxx> <291EDFCB1E9E224A99088639C4762022B44F046987@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.1) Gecko/20110830 Thunderbird/6.0.1


On 02.09.2011 13:01, Paul Durrant wrote:

The failure of qemu-ifup is mostly likely key here. If the tap device is not initialized then, when qemu-dm is lauched, it will fail to open the tap, hence the network device model will fail to initialize, hence it will exit prematurely.

 

  Paul



Yeah actually I get rid of the prob using this as /etc/xen/scripts/qemu-ifup

#!/bin/sh
echo 'config qemu network with xen bridge for $*'
ifconfig $1 0.0.0.0
ovs-vsctl add-port $2 $1

It was using brctl to add the port to the bridge...  It works, at least in openvswitch mode :)

Cheers,
Sébastien
_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api