]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuAgentCommand: Wire up suppressing of error reporting for unsupported commands
authorPeter Krempa <pkrempa@redhat.com>
Fri, 13 Mar 2020 08:49:35 +0000 (09:49 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 25 Mar 2020 11:02:20 +0000 (12:02 +0100)
commit09aac3b6ff94873f8c4e0d1ef969d2181b5335ad
treed551ed90d87b716b870ed94838a5dce1504b211c
parentf145df503eee049d1eafe3fa61cce2d3ce319b53
qemuAgentCommand: Wire up suppressing of error reporting for unsupported commands

In some cases we don't want to log errors if an agent command is
unsupported. Wire it up into qemuAgentCheckError via qemuAgentCommandFull
and provide a thin wrapper (qemuAgentCommand) to prevent having to fix
all callers.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_agent.c