(id: string)
| 1340 | } |
| 1341 | |
| 1342 | async function startVm(id: string) { |
| 1343 | try { |
| 1344 | await vmmRpc.startVm({ id }); |
| 1345 | loadVMList(); |
| 1346 | } catch (error) { |
| 1347 | recordError('Failed to start VM', error); |
| 1348 | } |
| 1349 | } |
| 1350 | |
| 1351 | async function shutdownVm(id: string) { |
| 1352 | try { |
nothing calls this directly
no test coverage detected