Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

logging: move control to /tools/xenstored

  • Loading branch information...
commit 6b805cbf1b87d97d929030d32ce518c9549770d7 1 parent 79db2e2
Dave Scott authored
2  server/call.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)
2  server/xs_server.ml
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
2  server_test/server_test.ml
View
@@ -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 _ =
Please sign in to comment.
Something went wrong with that request. Please try again.