From fa88ffe2b43133742e0d7c9df777efe085c91996 Mon Sep 17 00:00:00 2001 From: George Dunlap Date: Thu, 24 Mar 2016 17:18:33 +0000 Subject: [PATCH] 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 --- tools/hotplug/Linux/block-common.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 } -- 2.30.2