debuggers.hg
changeset 19643:c1340cda65fb
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@eu.citrix.com>
Add an exception for stubdoms in the same_vm hotplug script function.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
author | Keir Fraser <keir.fraser@citrix.com> |
---|---|
date | Tue May 19 01:18:35 2009 +0100 (2009-05-19) |
parents | eb66644da833 |
children | f71c5e3ac252 |
files | tools/hotplug/Linux/block-common.sh |
line diff
1.1 --- a/tools/hotplug/Linux/block-common.sh Tue May 19 01:17:16 2009 +0100 1.2 +++ b/tools/hotplug/Linux/block-common.sh Tue May 19 01:18:35 2009 +0100 1.3 @@ -110,7 +110,8 @@ same_vm() 1.4 # allowed. 1.5 local othervm=$(xenstore_read_default "/local/domain/$otherdom/vm" \ 1.6 "$FRONTEND_UUID") 1.7 - 1.8 - [ "$FRONTEND_UUID" = "$othervm" ] 1.9 + local target=$(xenstore_read_default "/local/domain/$FRONTEND_ID/target" \ 1.10 + "-1") 1.11 + [ "$FRONTEND_UUID" = "$othervm" -o "$target" = "$otherdom" ] 1.12 } 1.13