[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.4-testing] stubdom: fix issue with phy disks
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1243863130 -3600 # Node ID 9712103ec4efaa4c10b3f76786b1c26c8c2b716b # Parent 1ac7832a2fcd1258bcde9120f218f0ea84aaab2d stubdom: fix issue with phy disks Add an exception for stubdoms in the same_vm hotplug script function. Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> xen-unstable changeset: 19605:c1340cda65fb xen-unstable date: Tue May 19 01:18:35 2009 +0100 --- tools/hotplug/Linux/block-common.sh | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff -r 1ac7832a2fcd -r 9712103ec4ef tools/hotplug/Linux/block-common.sh --- a/tools/hotplug/Linux/block-common.sh Mon May 18 13:54:48 2009 +0100 +++ b/tools/hotplug/Linux/block-common.sh Mon Jun 01 14:32:10 2009 +0100 @@ -110,7 +110,8 @@ same_vm() # allowed. local othervm=$(xenstore_read_default "/local/domain/$otherdom/vm" \ "$FRONTEND_UUID") - - [ "$FRONTEND_UUID" = "$othervm" ] + local target=$(xenstore_read_default "/local/domain/$FRONTEND_ID/target" \ + "-1") + [ "$FRONTEND_UUID" = "$othervm" -o "$target" = "$otherdom" ] } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |