Permalink
Browse files

logging: move control to /tools/xenstored

  • Loading branch information...
1 parent 79db2e2 commit 6b805cbf1b87d97d929030d32ce518c9549770d7 David Scott committed Aug 23, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 server/call.ml
  2. +1 −1 server/xs_server.ml
  3. +1 −1 server_test/server_test.ml
View
@@ -33,7 +33,7 @@ let get_namespace_implementation path = match Store.Path.to_string_list path wit
Store.Path.of_string_list rest, (module Quota_interface: Namespace.IO)
| "connection" :: rest ->
Store.Path.of_string_list rest, (module Connection.Interface: Namespace.IO)
- | "log" :: rest ->
+ | "tool" :: "xenstored" :: "log" :: rest ->
Store.Path.of_string_list rest, (module Logging_interface: Namespace.IO)
| "memory" :: rest ->
Store.Path.of_string_list rest, (module Memory_interface: Namespace.IO)
View
@@ -28,7 +28,7 @@ let store =
let p = Store.Path.create path (Store.Path.getdomainpath 0) in
if not (Store.exists store p)
then Store.mkdir store 0 (Perms.of_domain 0) p
- ) [ "/local"; "/local/domain"; "/tool"; "/tool/xenstored"; "/tool/xenstored/quota"; "/connection"; "/log"; "/memory" ];
+ ) [ "/local"; "/local/domain"; "/tool"; "/tool/xenstored"; "/tool/xenstored/quota"; "/connection"; "/tool/xenstored/log"; "/memory" ];
store
module type TRANSPORT = sig
@@ -579,7 +579,7 @@ let test_control_perms () =
let open Xs_packet.Request in
run store [
dom1, none, PathOp("/quota/default/number-of-entries", Write "1"), Err "EACCES";
- dom1, none, PathOp("/log/reply-err/ENOENT", Write "1"), Err "EACCES";
+ dom1, none, PathOp("/tool/xenstored/log/reply-err/ENOENT", Write "1"), Err "EACCES";
]
let _ =

0 comments on commit 6b805cb

Please sign in to comment.