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

Method vm_add_vsock

vmm/src/api/dbus/mod.rs:181–184  ·  view source on GitHub ↗
(&self, vsock_config: String)

Source from the content-addressed store, hash-verified

179 }
180
181 async fn vm_add_vsock(&self, vsock_config: String) -> Result<Optional<String>> {
182 let vsock_config = serde_json::from_str(&vsock_config).map_err(api_error)?;
183 self.vm_action(&VmAddVsock, vsock_config).await
184 }
185
186 async fn vm_boot(&self) -> Result<()> {
187 self.vm_action(&VmBoot, ()).await.map(|_| ())

Callers 1

requestMethod · 0.45

Calls 1

vm_actionMethod · 0.80

Tested by

no test coverage detected