[PATCH 03/48] tests: Make qemuAgent single sync

Ján Tomko jtomko at redhat.com
Tue Nov 8 09:27:07 UTC 2022


On a Tuesday in 2022, Michal Privoznik wrote:
>The qemuAgent has option to issue guest-sync command before each
>intended command or issue the sync commend just once, right after
>the socked is opened and before the first intended command is
>issued. The latter is referred to as single sync agent and is
>enabled by VSERPORT_CHANGED event which allows us to detect
>when the agent (dis-)connects in the guest.
>
>Now, every QEMU that we support (4.2.0 or newer) has the event
>and thus will use single sync agent. Therefore, adjust
>qemuagenttest to make it test what's used in the real world,
>rather than old approach.
>
>Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
>---
> tests/qemuagenttest.c        | 50 +++---------------------------------
> tests/qemumonitortestutils.c |  2 +-
> 2 files changed, 4 insertions(+), 48 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano


More information about the libvir-list mailing list