Re: domain_qemu_agent_command($domain,$cmd,$timeout,$flags)

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

 



On 11/15/22 14:44, Simon Fairweather wrote:
> Hi Michal,
> 
> Can you advise why the following warning is logged for this command:
> domain_qemu_agent_command($res,
> '{"execute":"guest-network-get-interfaces"}', 10, 0) ;
> 
> warning : qemuDomainObjTaintMsg:6464 : Domain id=1 name='HA'
> uuid=ffbc955e-9a51-f1d1-2501-b4cbdac5dd4c is tainted: custom-ga-command

Because using qemu-ga can change the state behind libvirt's back. So far
we've ignored tainted flag but the idea is to be similar to kernel and
its tainting.

In this specific case - libvirt offers a this particular command as an API:

libvirt_domain_interface_addresses() in PHP, or
virDomainInterfaceAddresses() in C.

Michal




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

  Powered by Linux