stubdoms phy disks sharing
PATCH 1/1 stubdoms phy disks sharing
Hi all,
this patch fixes the stubdoms issue with phy disks: add an exception for stubdoms in the same_vm hotplug script function.
---
tools/hotplug/Linux/block-common.sh +3 -2
@@ -110,7 +110,8 @@ # 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" ] }
Quoted 4 lines · Stefano Stabellini
Hi all,
this patch fixes the stubdoms issue with phy disks: add an exception for stubdoms in thesame_vmhotplug script function.
Hi,
Is this needed for Xen 3.4.0 ?
-- Pasi
Quoted 24 lines
Signed-off-by Stefano Stabellini <[email protected]>---
diff -r
7d552e56d105tools/hotplug/Linux/block-common.shtools/hotplug/Linux/block-common.sh +3
-2@@ -110,7 +110,8 @@ # 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-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 10 lines · Pasi Kärkkäinen
Quoted 4 lines · Stefano Stabellini
Hi all,
this patch fixes the stubdoms issue with phy disks: add an exception for stubdoms in thesame_vmhotplug script function.Hi,
Is this needed for Xen 3.4.0 ?
Yes, I think it would be a good idea to backport this patch to the 3.4 branch.