From 72e8c51576dae273c93f7a2e2e84c0468997900d Mon Sep 17 00:00:00 2001 From: Vincent Hanquez Date: Thu, 30 Jul 2009 15:29:39 +0100 Subject: [PATCH] on dbus notification reply with a path that is valid. replacing - by _ in the uuid. --- xenvm/vmact.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xenvm/vmact.ml b/xenvm/vmact.ml index fc4a446..9dd769b 100644 --- a/xenvm/vmact.ml +++ b/xenvm/vmact.ml @@ -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 -- 2.39.5