vm_reboot
Reboot a Windows guest VM in VMware Workstation using soft, hard, or kernel debugger reset, then automatically reattach the debugger and reopen terminal sessions.
Instructions
Reboot the guest (soft, hard or from the debugger) and bring kd and terminals back.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm | Yes | VM name as registered in vms.yaml | |
| mode | No | soft: shutdown /r in the guest; hard: hypervisor reset; kd: .reboot at kd> | soft |
| confirm | No | Set true to acknowledge a destructive operation | |
| timeout | No | Seconds to wait for the guest | |
| reattach_kd | No | Bring the debugger back after boot | |
| reopen_term | No | Reopen dropped terminal sessions |