Re: [PATCH 01/10] qemu: monitor: Add possibility to reset command sequence in tests

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

 




On 06/04/2018 09:58 AM, Peter Krempa wrote:
> qemucapabilitiestest for simplicity uses one test monitor object for
> simulating work of two separate inquiries of the qemu process. To allow
> better testing in the future it will be required to reset the counter
> so that it accurately simulates how qemu would behave.
> 
> This patch adds a private monitor API which allows to reset the counter
> which will be usable only in tests.
> 
> Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
> ---
>  src/qemu/qemu_monitor.c      | 11 +++++++++++
>  src/qemu/qemu_monitor_priv.h | 31 +++++++++++++++++++++++++++++++
>  2 files changed, 42 insertions(+)
>  create mode 100644 src/qemu/qemu_monitor_priv.h
> 

Reviewed-by: John Ferlan <jferlan@xxxxxxxxxx>

John

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[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