Method
vm_add_user_device
(&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)?; |
Tested by
no test coverage detected