don't try to disable tx checksums for HVMs; it errors out
authorGreg Price <price@mit.edu>
Wed, 29 Oct 2008 05:26:48 +0000 (01:26 -0400)
committerGreg Price <price@mit.edu>
Wed, 29 Oct 2008 05:26:48 +0000 (01:26 -0400)
svn path=/trunk/packages/invirt-xen-config/; revision=1426

debian/changelog
vif-invirtroute

index beecbbc..3c635c5 100644 (file)
@@ -1,3 +1,9 @@
+invirt-xen-config (0.0.9) unstable; urgency=low
+
+  * don't try to disable tx checksums for HVMs; it errors out
+
+ -- Greg Price <price@mit.edu>  Wed, 29 Oct 2008 01:26:07 -0400
+
 invirt-xen-config (0.0.8) unstable; urgency=low
 
   * sipb-xen-base -> invirt-base
 invirt-xen-config (0.0.8) unstable; urgency=low
 
   * sipb-xen-base -> invirt-base
index e5b96bd..63b2679 100755 (executable)
@@ -40,7 +40,9 @@ case "$command" in
         ifconfig ${dev} ${main_ip} netmask 255.255.255.255 up
         echo 1 >/proc/sys/net/ipv4/conf/${dev}/proxy_arp
        echo 1 >/proc/sys/net/ipv4/conf/${dev}/rp_filter 
         ifconfig ${dev} ${main_ip} netmask 255.255.255.255 up
         echo 1 >/proc/sys/net/ipv4/conf/${dev}/proxy_arp
        echo 1 >/proc/sys/net/ipv4/conf/${dev}/rp_filter 
-        ethtool -K ${dev} tx off
+        if [ x${qemu_online} != xyes ]; then
+          ethtool -K ${dev} tx off
+        fi
         ipcmd='add'
         cmdprefix=''
         ;;
         ipcmd='add'
         cmdprefix=''
         ;;