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

Re: [Xen-users] Xen Installation without virtualization enabled in Bios

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Xen Installation without virtualization enabled in Bios
From: Age_M <Age_M@xxxxxx>
Date: Wed, 30 Jul 2008 20:58:50 +0200
Delivery-date: Wed, 30 Jul 2008 11:59:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <18532312.post@xxxxxxxxxxxxxxx>
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: <18532312.post@xxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)
Hi s@l,

another way to turn off tx-checksumming is to add a line in /etc/xen/scripts/xen-network-common.sh Just add a line to the add_to_bridge function (you find it at the end of the file):

original script:
[...]
add_to_bridge () {
   local bridge=$1
   local dev=$2

   # Don't add $dev to $bridge if it's already on a bridge.
   if [ -e "/sys/class/net/${bridge}/brif/${dev}" ]; then
       ip link set ${dev} up || true
       return
   fi
   brctl addif ${bridge} ${dev}
   ip link set ${dev} up
}

modified script (check the last line):
[...]
add_to_bridge () {
   local bridge=$1
   local dev=$2

   # Don't add $dev to $bridge if it's already on a bridge.
   if [ -e "/sys/class/net/${bridge}/brif/${dev}" ]; then
       ip link set ${dev} up || true
       return
   fi
   brctl addif ${bridge} ${dev}
   ip link set ${dev} up
   ethtool -K ${dev} tx off
}

This works for me and all domUs that are created :-D
Greetz Age_M

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