Can't reboot kvm virtual machines using virsh
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Fedora) |
Fix Released
|
Medium
|
|||
libvirt (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
I'm running Jaunty for amd64 with kvm (1:84+dfsg-
% virsh -c qemu:///system "reboot foo"
Connecting to uri: qemu:///system
error: Failed to reboot domain foo
error: this function is not supported by the hypervisor: virDomainReboot
I can also observe a similar behavior when attempting to define a kvm virtual machine with the action <on_reboot>
% virsh -c qemu:///system "define libvirt_run.xml"
Connecting to uri: qemu:///system
error: Failed to define domain from libvirt_run.xml
error: internal error unknown lifecycle action reboot
In the above, note that defining the action <on_reboot>
summary: |
- [Jaunty] Can't reboot kvm virtual machines using virsh + Can't reboot kvm virtual machines using virsh |
Changed in libvirt (Fedora): | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
Description of problem:
I receive this error when I press shutdown button
Traceback (most recent call last): virt-manager/ virtManager/ engine. py", line 523, in reboot_domain virt-manager/ virtManager/ domain. py", line 569, in reboot vm.reboot( 0) python2. 6/site- packages/ libvirt. py", line 392, in reboot
File "/usr/share/
vm.reboot()
File "/usr/share/
self.
File "/usr/lib64/
if ret == -1: raise libvirtError ('virDomainReboot() failed', dom=self)
libvirtError: this function is not supported by the hypervisor: virDomainReboot
Version-Release number of selected component (if applicable):
qemu-0. 10-8.fc11. x86_64 0.7.0-4. fc11.x86_ 64
virt-manager-
Expected results:
I like to be able to power off and reset a virtual machine using shutdown button, without receiving error message.