
20 Jun
2019
20 Jun
'19
11:55 a.m.
On Wed, 2019-06-19 at 22:43 +0200, Ján Tomko wrote:
We return success when running this function for either non-JSON monitor testing or guest agent testing.
However we no longer test HMP monitor and we do not try to validate the guest agent interaction.
Drop the test->json check and report a proper error if someone tries to run this function for the guest agent without properly wiring it up.
Signed-off-by: Ján Tomko <jtomko@redhat.com> --- tests/qemumonitortestutils.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
Reviewed-by: Andrea Bolognani <abologna@redhat.com> -- Andrea Bolognani / Red Hat / Virtualization