KVM test: migration: support QMP

If the value returned from a monitor method call
is a string, treat it as human monitor output.
Otherwise treat it as QMP output.

Signed-off-by: Michael Goldish <mgoldish@redhat.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4641 592f7852-d20e-0410-864c-8624ca9c26a4
1 file changed