05bedd5488
named ext" xm-create-xflag.patch - Fix xen-utils to cope with xen-unstable c/s 21483 - xz-devel is available since 11.2, make it optional for SLES11SP1 - bnc#665610 - xm console > 1 to same VM messes up both consoles Upstream rejected due to portability concern, see http://lists.xensource.com/archives/html/xen-devel/2011-02/msg00942.html xenconsole-no-multiple-connections.patch - Enable support for kernel decompression for gzip, bzip2, and LZMA so that kernels compressed with any of these methods can be launched. - Update to Xen 4.1.0 c/s 22861 OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=102
34 lines
1.1 KiB
Diff
34 lines
1.1 KiB
Diff
Subject: set mtu from bridge also on vif interface
|
|
References: bug#625394
|
|
|
|
Apply mtu size from bridge interface also in vif interface.
|
|
This depends on a kernel change which allows arbitrary mtu sizes until
|
|
the frontend driver has connected to the backend driver. Without this
|
|
kernel change, the vif mtu size will be limited to 1500 with this change
|
|
to the vif-bridge script.
|
|
|
|
(xen-unstable changeset: 22885:005722613063)
|
|
|
|
Signed-off-by: Olaf Hering <olaf@aepfle.de>
|
|
|
|
---
|
|
tools/hotplug/Linux/vif-bridge | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
Index: xen-4.1.0-testing/tools/hotplug/Linux/vif-bridge
|
|
===================================================================
|
|
--- xen-4.1.0-testing.orig/tools/hotplug/Linux/vif-bridge
|
|
+++ xen-4.1.0-testing/tools/hotplug/Linux/vif-bridge
|
|
@@ -97,6 +97,11 @@ case "$command" in
|
|
|
|
add)
|
|
setup_virtual_bridge_port "$dev"
|
|
+ mtu="`ip link show $bridge | awk '/mtu/ { print $5 }'`"
|
|
+ if [ -n "$mtu" ] && [ "$mtu" -gt 0 ]
|
|
+ then
|
|
+ ip link set $vif mtu $mtu || :
|
|
+ fi
|
|
add_to_bridge "$bridge" "$dev"
|
|
;;
|
|
esac
|