vm.reset

Reset id VM.

Performs an immediate hardware-level reset of the virtual machine, equivalent to pressing the reset button. The guest OS receives no warning and the VM restarts instantly without going through a clean shutdown cycle.

Warning

Data loss or filesystem corruption may occur if the guest has unflushed writes at the time of the reset. Prefer vm.restart for a clean restart when the guest is responsive.

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: id

id

Type: integer

ID of the virtual machine to reset.

Result

Type: null

Returns null on successful VM reset.



Required roles: VM_WRITE