[libvirt-users] Reboot KVM guest failed via virsh!

Hi, I have tried to reboot a KVM guest by this command line: virsh reboot vm1 However, the virsh report: reboot is not supported without json monitor. I am using libvirt-0.9.9 and qemu-0.14.0. Can anyone provide some help? Thanks, Yi

On 07/03/2012 05:28 AM, GaoYi wrote:
Hi, I have tried to reboot a KVM guest by this command line: virsh reboot vm1 However, the virsh report: reboot is not supported without json monitor. I am using libvirt-0.9.9 and qemu-0.14.0. Can anyone provide some help?
You need to upgrade your qemu version in order to get reboot functionality. If I remember correctly, upstream qemu didn't support the hooks that libvirt needed until 0.15; upstream qemu is now at 1.1. It's also possible to upgrade to newer libvirt and to install the qemu-ga in your guest, to use a guest-agent reboot instead of an ACPI interrupt request. -- Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
participants (2)
-
Eric Blake
-
GaoYi