+ s_"Print the max VCPUs of a domain.",
+ [dom_help];
+ "dommempeek",
+ cmd3 print_string
+ (fun dom offset size ->
+ let buf = String.create size in
+ D.memory_peek dom D.Virtual offset size buf 0;
+ buf)
+ (arg_readonly_connection domain_of_string)
+ Int64.of_string int_of_string,
+ s_"Peek into memory of a device.",
+ [dom_help; s_"offset",s_"Offset in memory";
+ s_"size",s_"Size in bytes to read"];