diff --git a/storage/storage_interface.ml b/storage/storage_interface.ml index 4382bf58..e0f8802a 100644 --- a/storage/storage_interface.ml +++ b/storage/storage_interface.ml @@ -120,14 +120,15 @@ let string_of_dp_stat_t (x: dp_stat_t) = Jsonrpc.to_string (rpc_of_dp_stat_t x) type device_config = (string * string) list type probe = { - attachable: (device_config * sr_info) list; (* Attachable SRs we found *) - creatable: device_config list; (* Complete configurations that can be used to create an SR. *) - incomplete: device_config list; (* other configurations we found which could be probed recursively *) + configuration: (string * string) list; + complete: bool; + sr: sr_info option; + extra_info: (string * string) list; } type probe_result = | Raw of string (* SMAPIv1 adapters return arbitrary data *) - | Probe of probe + | Probe of probe list module Mirror = struct type id = string