7f6bd728fd
xend-cpuid.patch - Rename 2XXXX-vif-bridge.patch -> vif-bridge-tap-fix.patch - bnc#747331 - XEN: standard "newburn" kernel QA stress test on guest (+ smartd on Dom0?) freezes the guest 24883-x86-guest-walk-not-present.patch - bnc#745367 - MCE bank handling during migration 24781-x86-vmce-mcg_ctl.patch 24886-x86-vmce-mcg_ctl-default.patch 24887-x86-vmce-sr.patch - bnc#744771 - L3: VM with passed through PCI card fails to reboot under dom0 load 24888-pci-release-devices.patch - Upstream patches from Jan 24517-VT-d-fault-softirq.patch 24527-AMD-Vi-fault-softirq.patch 24535-x86-vMSI-misc.patch 24615-VESA-lfb-flush.patch 24690-x86-PCI-SERR-no-deadlock.patch 24701-gnttab-map-grant-ref-recovery.patch 24742-gnttab-misc.patch 24780-x86-paging-use-clear_guest.patch 24805-x86-MSI-X-dom0-ro.patch ioemu-9869-MSI-X-init.patch ioemu-9873-MSI-X-fix-unregister_iomem.patch - bnc#745005 - Update vif configuration examples in xmexample* Updated xen-xmexample.diff OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=172
31 lines
969 B
Diff
31 lines
969 B
Diff
# HG changeset patch
|
|
# User Jim Fehlig <jfehlig@suse.com>
|
|
# Date 1319581952 21600
|
|
# Node ID 74da2a3a1db1476d627f42e4a99e9e720cc6774d
|
|
# Parent 6c583d35d76dda2236c81d9437ff9d57ab02c006
|
|
Prevent vif-bridge from adding user-created tap interfaces to a bridge
|
|
|
|
Exit vif-bridge script if there is no device info in xenstore, preventing
|
|
it from adding user-created taps to bridges.
|
|
|
|
Signed-off-by: Jim Fehlig <jfehlig@suse.com>
|
|
|
|
Index: xen-4.1.2-testing/tools/hotplug/Linux/vif-bridge
|
|
===================================================================
|
|
--- xen-4.1.2-testing.orig/tools/hotplug/Linux/vif-bridge
|
|
+++ xen-4.1.2-testing/tools/hotplug/Linux/vif-bridge
|
|
@@ -32,6 +32,13 @@
|
|
dir=$(dirname "$0")
|
|
. "$dir/vif-common.sh"
|
|
|
|
+mac=$(xenstore_read_default "$XENBUS_PATH/mac" "")
|
|
+if [ -z "$mac" ]
|
|
+then
|
|
+ log debug "No device details in $XENBUS_PATH, exiting."
|
|
+ exit 0
|
|
+fi
|
|
+
|
|
bridge=${bridge:-}
|
|
bridge=$(xenstore_read_default "$XENBUS_PATH/bridge" "$bridge")
|
|
|