Re: run qemu-agent-command via binding (ruby/python/php)

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

 



On 08/28/2014 07:12 AM, Vasiliy Tolstov wrote:
> Hi! Does it possible(featured, planned) to run some qemu-agent-command
> via libvirt binding (i'm interesting on ruby and php).?

I'm not sure the time-schedule of the ruby and php bindings maintainers,
but ideally, ALL libvirt API should eventually have exposure in each
language binding.

> I'm understand that i can connect via socket and run it, but it very
> usable to get this ability inside binding.

In the meantime, if you can fork out to a shell, you can use 'virsh'
from within your language of choice to drive the bindings.

Also, it might help to say WHAT you hope to do with qemu-agent-command -
that is an explicitly unsupported interface, and if you find yourself
having to use it, it means we have a hole in libvirt proper, where we
should expose a supported API to get at the same task without going
through the backdoor.  (As past examples, we added virDomainSetTime
because people were previously having to use the agent's back door.)

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

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]