[one-users] VM reboot, was [Cannot shutdown VM]

Harsha Buggi Harsha_Buggi at mindtree.com
Tue Aug 11 21:22:42 PDT 2009


Hi,

    Can we atleast have a mechanism to shutdown a VM and restart the same VM if reboot is not possible, like we have in virt-manager? The behaviour we have now is that when we perform a shutdown in the VM is stopped and the VM image is completly deleted from the server. 'Delete' could handle this behaviour and we could have a 'Shutdown' and 'Start' functionality as a workaround for reboot.

Regards,
Harsha

________________________________________
From: rsmontero at gmail.com [rsmontero at gmail.com] On Behalf Of Ruben S. Montero [rubensm at dacya.ucm.es]
Sent: Tuesday, August 11, 2009 10:32 PM
To: users at lists.opennebula.org; Harsha Buggi
Subject: VM reboot, was [Cannot shutdown VM]

Hi,

It seems that KVM/QEMU does not implements reboot, as for v 0.7.0

http://libvirt.org/git/?p=libvirt.git;a=blob;f=src/qemu_driver.c;h=412b68d44973c76ce3efc72fc4c057874a17b2ec;hb=22a5ebe44b935572dfc585ccca0d477587a44ed8#l6757

Xen  implements this but it probably needs on_reboot="restart". However  it
seems that it does not  work for all versions (I am trying with 3.2.0
and the VM does not restart...)

Vmware VI SDK provides a RebootGuest method so it should not be an issue.

As the reboot action needs some hypervisor modification/tunning and it
does not work for all of them I propose to move this feature to 1.4.2


Cheers

Ruben

--
+---------------------------------------------------------------+
 Dr. Ruben Santiago Montero
 Associate Professor
 Distributed System Architecture Group (http://dsa-research.org)

 URL:    http://dsa-research.org/doku.php?id=people:ruben
 Weblog: http://blog.dsa-research.org/?author=7

 GridWay, http://www.gridway.org
 OpenNebula, http://www.opennebula.org
+---------------------------------------------------------------+

http://www.mindtree.com/email/disclaimer.html


More information about the Users mailing list