551c9a62bc
- Enable support for kernel decompression for gzip, bzip2, and LZMA so that kernels compressed with any of these methods can be launched. - update xenalyze, more 64bit fixes - allocate xentrace buffer metadata based on requested tbuf_size xentrace.dynamic_sized_tbuf.patch - fate#310510 - fix xenpaging xenpaging.runtime_mru_size.patch - specify policy mru size at runtime xenpaging.no_domain_id.patch - reduce memory usage in pager - bnc#625394 - set vif mtu from bridge mtu if kernel supports it vif-bridge.mtu.patch - fate#310510 - fix xenpaging xenpaging.autostart_delay.patch - decouple create/destroycreateXenPaging from _create/_removeDevices - change xenpaging variable from int to str - init xenpaging variable to 0 if xenpaging is not in config file to avoid string None coming from sxp file OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=97
34 lines
1.0 KiB
Diff
34 lines
1.0 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.0.2-testing/tools/hotplug/Linux/vif-bridge
|
|
===================================================================
|
|
--- xen-4.0.2-testing.orig/tools/hotplug/Linux/vif-bridge
|
|
+++ xen-4.0.2-testing/tools/hotplug/Linux/vif-bridge
|
|
@@ -82,6 +82,11 @@ fi
|
|
case "$command" in
|
|
online)
|
|
setup_bridge_port "$vif"
|
|
+ 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" "$vif"
|
|
;;
|
|
|