Peter Krempa wrote:

> On Sat, Jun 13, 2026 at 07:01:20 +0200, Roman Bogorodskiy wrote:
> > As the qemuDomainAuthorizedSSHKeysSet() call modifies the domain,
> > use the VIR_AGENT_JOB_MODIFY job type, not VIR_AGENT_JOB_QUERY.
> 
> Technically the call doesn't modify anything of the libvirt-stored state
> of the domain so the _QUERY job is sufficient.

Yes, initially I wasn't sure about that. But the similar calls use
_MODIFY, specifically, qemuDomainSetUserPassword() and
qemuDomainSetTime().

There are some more, like qemuDomainSetGuestVcpus(), but they are more
invasive, so not sure if that is applicable for this case.

Reply via email to