rebooting KVM VM from terminal

Timo

New Member
Mar 20, 2009
7
0
1
Hi!

I need to reboot a KVM VM every night by a cron job. For OVZ containers I used vzctl to achieve this but I did not find a similar tool for KVM. Any advices on this?
 
Hi!

I need to reboot a KVM VM every night by a cron job. For OVZ containers I used vzctl to achieve this but I did not find a similar tool for KVM. Any advices on this?

see 'man qm'
 
and?????
what's the solution?
Diaolin
:rolleyes:

for example:

Code:
qm shutdown VMID
and

Code:
qm start VMID
(make sure that that the guest accepts anonymous acpi shutdown command)
 
Last edited: