[libvirt-users] state of setvcpus

Thomas Stein himbeere at meine-oma.de
Fri Aug 9 17:55:22 UTC 2013


On Friday 09 August 2013 09:03:50 Eric Blake wrote:
> On 08/09/2013 09:01 AM, Thomas Stein wrote:
> >>   Meanwhile, you can try using 'setvcpus gentookvm
> >> 
> >> --guest 4' to use the guest agent (assuming you have qemu-ga running in
> >> the guest, and the proper plumbing of the guest agent channel in your
> >> domain XML) to use the guest to take vcpus on- or offline.
> > 
> > Tried that with no luck so far.
> > 
> > virsh # setvcpus gentookvm --guest 2
> > error: internal error: unable to execute QEMU agent command
> > 'guest-get-vcpus': The command guest-get-vcpus has not been found
> > 
> > It's qemu-1.4.2 and libvirt-1.1.1.
> 
> There's your problem.  Guest-agent support for hotplug wasn't introduced
> until qemu 1.5.  Upgrade at least your qemu-ga in your guest, and
> probably also the qemu running your guest.

Just upgraded qemu-quest-agent to 1.5.2 and now it works. Cool. Host still at 
1.4.2 by the way. Thanks again.

cheers
t.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130809/d28ec784/attachment.sig>


More information about the libvirt-users mailing list