From: George Dunlap Date: Thu, 24 Mar 2016 17:18:33 +0000 (+0000) Subject: tools/hotplug: Write physical-device-path in addition to physical-device X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~1395 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fa88ffe2b43133742e0d7c9df777efe085c91996;p=xen.git tools/hotplug: Write physical-device-path in addition to physical-device Change block-common.sh on Linux to write physical-device-path with the path of the device node, in addition to physical-device with its major:minor numbers. Signed-off-by: George Dunlap Acked-by: Ian Jackson Tested-by: George Dunlap --- diff --git a/tools/hotplug/Linux/block-common.sh b/tools/hotplug/Linux/block-common.sh index ee95009824..35110b47b4 100644 --- a/tools/hotplug/Linux/block-common.sh +++ b/tools/hotplug/Linux/block-common.sh @@ -67,7 +67,8 @@ write_dev() { fi xenstore_write "$XENBUS_PATH/physical-device" "$mm" - + xenstore_write "$XENBUS_PATH/physical-device-path" "$1" + success }