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

Method vm_add_pmem

vmm/src/api/dbus/mod.rs:166–169  ·  view source on GitHub ↗
(&self, pmem_config: String)

Source from the content-addressed store, hash-verified

164 }
165
166 async fn vm_add_pmem(&self, pmem_config: String) -> Result<Optional<String>> {
167 let pmem_config = serde_json::from_str(&pmem_config).map_err(api_error)?;
168 self.vm_action(&VmAddPmem, pmem_config).await
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)?;

Callers 1

requestMethod · 0.45

Calls 1

vm_actionMethod · 0.80

Tested by

no test coverage detected