If you don't mind using libvirt-qemu.so, you can use the virDomainQemuAgentCommand API (exposed by Virsh Qemu-agent-command) Aware that's unsupported, and any changes your make to the agent that's change state behind Libvirt's back may cause Li Bvirt to misbehave. Libvirt does not guarantee any, the guest agent of direct use. ![]() ' attribute of the element, and Libvirt would m Anage things automatically on your behalf. If you use Libvirt 1.0.6 or newer, you can omit the path= '. In other words, one needs to add the his/her domain XML under : To is able to use GA users needs to create Virtio serial port with special name _agent.0. There is some attempts to allow applications to use QEMU Monitor for communication with GA, but virtio serial port should remain supported. However, guest agent (GA) is not bullet proof, and hostile guest OS can send spurious replies.Ĭurrently, QEMU exposes GA via Virtio serial port. For example, freezing and thawing filesystems, entering suspend. It is a daemon program running inside the domain which are supposed to help management applications with executing function s which need assistance of the guest OS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |