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

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


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • 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
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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