MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / api_error

Function api_error

vmm/src/api/dbus/mod.rs:47–49  ·  view source on GitHub ↗
(error: impl std::fmt::Debug + std::fmt::Display)

Source from the content-addressed store, hash-verified

45}
46
47fn api_error(error: impl std::fmt::Debug + std::fmt::Display) -> fdo::Error {
48 fdo::Error::Failed(format!("{error}"))
49}
50
51// This method is intended to ensure that the DBusApi thread has enough time to
52// send a response to the VmmShutdown method call before it is terminated. If

Callers 1

vm_coredumpMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected