public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [KVM_AUTOTEST][PATCH v1 0/3]: QMP basic test-suite
@ 2010-10-15 20:52 Luiz Capitulino
  2010-10-15 20:52 ` [PATCH 1/3] QMPMonitor: Introduce the get_greeting() method Luiz Capitulino
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Luiz Capitulino @ 2010-10-15 20:52 UTC (permalink / raw)
  To: autotest; +Cc: kvm

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.

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [KVM_AUTOTEST][RFC 0/3]: QMP basic test-suite
@ 2010-10-07 19:52 Luiz Capitulino
  2010-10-07 19:52 ` [PATCH 3/3] Introduce " Luiz Capitulino
  0 siblings, 1 reply; 10+ messages in thread
From: Luiz Capitulino @ 2010-10-07 19:52 UTC (permalink / raw)
  To: autotest; +Cc: kvm, lmr, ehabkost, armbru

This series is an _initial_ work on having a full QMP test-suite in
kvm-autotest. I think it's very near of being in a mergeable state, but I
figured it would be a good idea to get some feedback before submitting the
final version.

You'll find all important details in the patches, being the last the most
important one.

Please, note that there are a number of TODO items to be addressed and I
need help to solve the following issues:

    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.

       I have tried destroying and recreating the QMPMonitor object from
       my test-suite, but that didn't seem to work very well.

I have other, more general comments, about kvm-autotest, but I'll send them
in a different thread.

Thanks.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-10-18 15:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-15 20:52 [KVM_AUTOTEST][PATCH v1 0/3]: QMP basic test-suite Luiz Capitulino
2010-10-15 20:52 ` [PATCH 1/3] QMPMonitor: Introduce the get_greeting() method Luiz Capitulino
2010-10-15 20:52 ` [PATCH 2/3] QMPMonitor: Introduce the send() method and wrappers Luiz Capitulino
2010-10-18 11:42   ` Lucas Meneghel Rodrigues
2010-10-18 14:25     ` Luiz Capitulino
2010-10-15 20:52 ` [PATCH 3/3] Introduce QMP basic test-suite Luiz Capitulino
2010-10-18 11:42   ` Lucas Meneghel Rodrigues
2010-10-18 14:55     ` Luiz Capitulino
2010-10-18 15:15       ` Lucas Meneghel Rodrigues
  -- strict thread matches above, loose matches on Subject: below --
2010-10-07 19:52 [KVM_AUTOTEST][RFC 0/3]: " Luiz Capitulino
2010-10-07 19:52 ` [PATCH 3/3] Introduce " Luiz Capitulino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox