[libvirt-users] Failed to reboot VM via virsh

Eric Blake eblake at redhat.com
Mon Sep 17 14:22:39 UTC 2012


[GB2312 is not universally understood; I recoded to UTF-8]

On 09/17/2012 02:10 AM, xuanmao_001 wrote:
> Hi, Eric:

Why are you addressing me but cc'ing Daniel?  Generally, it is
sufficient to address the list, and anyone can reply.

> 
> I want to reboot vm using libvirt reboot api virDomainReboot(). but it occured error like following:
> "error: Failed to reboot domain abc"
> "error: Requested operation is not valid: Reboot is not supported without the JSON monitor".
> 
> I updated qemu version,such as "qemu-kvm-1.2.0", it still like that.
> 
> can you give me any ideas? 

Sounds like your libvirt was built without yajl-devel; you need to
rebuild it with access to the yajl libraries, in order to gain JSON
monitor support, at which point your command will start working.  If you
did not self-build, then report this as a bug to your distro.

> 
> my libvirt version: 0.9.8.

Would you mind trying again with 0.10.1?

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120917/70a6ba4d/attachment.sig>


More information about the libvirt-users mailing list