tools/hotplug: Write physical-device-path in addition to physical-device
authorGeorge Dunlap <george.dunlap@citrix.com>
Thu, 24 Mar 2016 17:18:33 +0000 (17:18 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 4 Apr 2016 16:48:25 +0000 (17:48 +0100)
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 <george.dunlap@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Tested-by: George Dunlap <george.dunlap@citrix.com>
tools/hotplug/Linux/block-common.sh

index ee95009824f504a73630a0de02b02c055f9f3414..35110b47b4c2b1632e205fd6873f2672f015aa52 100644 (file)
@@ -67,7 +67,8 @@ write_dev() {
   fi
  
   xenstore_write "$XENBUS_PATH/physical-device" "$mm"
-
+  xenstore_write "$XENBUS_PATH/physical-device-path" "$1"
+  
   success
 }