Re: Failed to reboot VM via virsh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you! It works.
 

xuanmao_001
 
From: Eric Blake
Date: 2012-09-17 22:22
Subject: Re: Failed to reboot VM via virsh
[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@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org
 
 
_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux