]> xenbits.xensource.com Git - xenclient/toolstack.git/commitdiff
on dbus notification reply with a path that is valid. replacing - by _ in the uuid.
authorVincent Hanquez <vincent.hanquez@eu.citrix.com>
Thu, 30 Jul 2009 14:29:39 +0000 (15:29 +0100)
committerVincent Hanquez <vincent.hanquez@eu.citrix.com>
Thu, 30 Jul 2009 14:29:39 +0000 (15:29 +0100)
xenvm/vmact.ml

index fc4a446698abd6644a4ca223ba84212cdff8e91e..9dd769b903d386823de590aa2c247a2083b0f495 100644 (file)
@@ -57,7 +57,7 @@ let _notify state code l =
                ()
        | NotifyDBus path ->
                (* path/intf/method arbitrary for now. *)
-               let dbus_path = sprintf "/org/xen/vm/%s" state.vm_uuid in
+               let dbus_path = sprintf "/org/xen/vm/%s" (String.replace "-" "_" state.vm_uuid) in
                let dbus_intf = "xenvm.signal.notify" in
                let dbus_meth = "notify" in
                let bus = DBus.Bus.get DBus.Bus.System in