(Device_common.string_of_endpoint frontend);
| Device.PV_Vnc.Failed_to_start ->
sprintf "vncterm failed to start";
+ | Device.PCI.Cannot_add (devs, exn) ->
+ let devs_str = String.concat "," (List.map (fun (a, b, c, d) -> sprintf "%d:%d:%d.%d" a b c d) devs) in
+ let exn_str = match exn with
+ | Unix.Unix_error (err, act, d) ->
+ sprintf "unix error doing %s: %s" act (Unix.error_message err)
+ | _ ->
+ Printexc.to_string exn
+ in
+ sprintf "cannot add pci devices [%s]: %s" devs_str exn_str
| Forkhelpers.Spawn_internal_error (log, output, process) ->
let string_of_unix_process process =
match process with