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

Method vm_add_user_device

vmm/src/api/dbus/mod.rs:171–174  ·  view source on GitHub ↗
(&self, vm_add_user_device: String)

Source from the content-addressed store, hash-verified

169 }
170
171 async fn vm_add_user_device(&self, vm_add_user_device: String) -> Result<Optional<String>> {
172 let vm_add_user_device = serde_json::from_str(&vm_add_user_device).map_err(api_error)?;
173 self.vm_action(&VmAddUserDevice, vm_add_user_device).await
174 }
175
176 async fn vm_add_vdpa(&self, vdpa_config: String) -> Result<Optional<String>> {
177 let vdpa_config = serde_json::from_str(&vdpa_config).map_err(api_error)?;

Callers 1

requestMethod · 0.45

Calls 1

vm_actionMethod · 0.80

Tested by

no test coverage detected