80e28a00ec
- unmodified_drivers: handle IRQF_SAMPLE_RANDOM, it was removed in 3.6-rc1 - bnc#778105 - first XEN-PV VM fails to spawn xend: Increase wait time for disk to appear in host bootloader Modified existing xen-domUloader.diff - Disable the snapshot patches. Snapshot only supported the qcow2 image format which was poorly implemented qemu 0.10.2. Snapshot support may be restored in the future when the newer upstream qemu is used by Xen. - bnc#776995 - attaching scsi control luns with pvscsi - xend/pvscsi: fix passing of SCSI control LUNs xen-bug776995-pvscsi-no-devname.patch - xend/pvscsi: fix usage of persistant device names for SCSI devices xen-bug776995-pvscsi-persistent-names.patch - xend/pvscsi: update sysfs parser for Linux 3.0 xen-bug776995-pvscsi-sysfs-parser.patch - Update to Xen 4.2.0 RC3+ c/s 25779 - Update to Xen 4.2.0 RC2+ c/s 25765 OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=199
31 lines
1.2 KiB
Diff
31 lines
1.2 KiB
Diff
Index: xen-4.2.0-testing/tools/hotplug/Linux/network-bridge
|
|
===================================================================
|
|
--- xen-4.2.0-testing.orig/tools/hotplug/Linux/network-bridge
|
|
+++ xen-4.2.0-testing/tools/hotplug/Linux/network-bridge
|
|
@@ -259,6 +259,11 @@ op_start () {
|
|
|
|
create_bridge ${tdev}
|
|
|
|
+ # Record creation of bridge in /dev/.sysconfig/network/xenbridges so other
|
|
+ # tools, e.g. yast2 lan, know that Xen bridging is active.
|
|
+ [ -d /dev/.sysconfig/network/xenbridges ] || mkdir /dev/.sysconfig/network/xenbridges
|
|
+ touch /dev/.sysconfig/network/xenbridges/${bridge}
|
|
+
|
|
preiftransfer ${netdev}
|
|
transfer_addrs ${netdev} ${tdev}
|
|
# Remember slaves for bonding interface.
|
|
@@ -340,6 +345,13 @@ op_stop () {
|
|
ip link set ${pdev} name ${netdev}
|
|
do_ifup ${netdev}
|
|
|
|
+ # Remove record of bridge from /dev/.sysconfig/network/xenbridges ...
|
|
+ rm -f /dev/.sysconfig/network/xenbridges/${bridge}
|
|
+ # ... and directory itself if empty
|
|
+ if [ -z "$(ls -A /dev/.sysconfig/network/xenbridges 2>/dev/null)" ]; then
|
|
+ rmdir /dev/.sysconfig/network/xenbridges
|
|
+ fi
|
|
+
|
|
for vlan in $vlans ; do ifup $vlan ; done
|
|
|
|
release_lock "network-bridge"
|