[libvirt] [PATCH 1/3] tests: assume JSON in qemuMonitorTestIO
Andrea Bolognani
abologna at redhat.com
Thu Jun 20 09:50:08 UTC 2019
On Wed, 2019-06-19 at 22:43 +0200, Ján Tomko wrote:
> The QMP monitor only uses a newline to separate lines,
> while HMP and the guest agent also use a carriage return.
>
> In preparation to dropping support for testing HMP interaction,
> only skip the carriage return if we're dealing with the guest agent,
> removing the need to check the 'json' field.
>
> Signed-off-by: Ján Tomko <jtomko at redhat.com>
> ---
> tests/qemumonitortestutils.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Andrea Bolognani <abologna at redhat.com>
--
Andrea Bolognani / Red Hat / Virtualization
More information about the libvir-list
mailing list