This is an _initial_ work on having a full QMP test-suite in kvm-autotest,
but we start simple: the basic suite tests only the basic protocol
specification. More details in patch 3/3.
This is already very useful for QMP development and can be merged as is,
but there are two limitations that should be addressed in the near future:
1. A number of QMP commands are executed before the QMP suite is run,
which means that some problems can be caught by non-test code (ie.
real usage).
Ideally, the QMP suite should be run before any command is executed,
so that we avoid catching QMP bugs in other test suites and/or in
kvm-autotest non-test code.
2. The qmp_capabilities command is run by the QMPMonitor class
constructor. This makes it impossible for me to test it in the QMP
suite.
We have to find a way to create a new monitor object from the
test suite.
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html