qemu.tests.qmp_command: Strip the string before package version checking.

white space in query-version output fail qmp_query-version sub case in some version.

Signed-off-by: Feng Yang <fyang@redhat.com>
qemu.tests.qmp_command: Support exception list in check_result()

qmp/human command's ouput may changed in new qemu-kvm. So add
exception list to handle these changes.

Signed-off-by: Feng Yang <fyang@redhat.com>
qemu.cfg.qmp_command: Set defaults to yes to remove -nodefaults from qemu command line.

Should not use -nodefaults in qemu command in qmp_command.qmp_query-blockstats
case.

Signed-off-by: Feng Yang <fyang@redhat.com>
Merge pull request #3 from FengYang/qmp

qemu.tests: qmp_command update to fit new qemu