Re: Invoke QMP commands using native libvirt API

2025-04-23 Thread Blade Liu
Thanks! I was not aware of libvirt/libvirt_qemu can directly invoke qmp commands. From libvirt Python code, there are some APIs missing, e.g., guest-exec(). "There's some synchronization needed first to reset agent's internal state: https://gitlab.com/libvirt/libvirt/-/blob/master/src/qemu/qem

Re: Invoke QMP commands using native libvirt API

2025-04-21 Thread Michal Prívozník via Devel
On 4/18/25 14:55, Blade Liu wrote: > Hi all, > > I have a problem to execute qmp commands via qemu guest agent using > libvirt-Python. In libivrt and qemu tutorial, qmp commands are invoked > by terminal. In my project, I want to invoke the commands natively using > libvirt-Python API, not using