Daniel Veillard wrote:
On Wed, Apr 22, 2009 at 03:11:18PM +0530, Deepti B Kalakeri wrote:
> ComputerSystem - 32_start_reboot.py: XFAIL
> ERROR - Got CIM error CIM_ERR_FAILED: Unable to reboot domain: this function is not
supported by the hypervisor: virDomainReboot with return code 1
> ERROR - Exception: Unable reboot dom 'cs_test_domain'
> InvokeMethod(RequestStateChange): CIM_ERR_FAILED: Unable to reboot domain: this
function is not supported by the hypervisor: virDomainReboot
> Bug:<00005>
>
This is a limitation in KVM, there is no Reboot support, basically
only shutdown. The only possibility at the moment is a combination of
shutdown and restart, which is not 100% similar at the libvirt level
which is why I would rather try to get a reboot operation at the QEmu
level.
But at the CIM API level maybe "reboot" and "shutdown + restart"
are
I would let the reboot option remain for Xen/XenFV.
I can use "shutdown + restart" for now in the test case for KVM.
undistinguishable, in which case it's probably a good idea to
implement
it this way if the hypervisor support for reboot is not present.
I believe that the reboot option works for the KVM guests.
Daniel
--
Thanks and Regards,
Deepti B. Kalakeri
IBM Linux Technology Center
deeptik(a)linux.vnet.ibm.com