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

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

 



On Tue, Nov 08, 2022 at 09:29:05 +0100, 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

*socket

> 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@xxxxxxxxxx>
> ---
>  tests/qemuagenttest.c        | 50 +++---------------------------------
>  tests/qemumonitortestutils.c |  2 +-
>  2 files changed, 4 insertions(+), 48 deletions(-)




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux