Re: [PATCH] KVM test: qmp_basic: Go through available monitors to find a qmp one

2011-01-11 Thread Luiz Capitulino
On Tue, 11 Jan 2011 14:55:47 -0200 Lucas Meneghel Rodrigues wrote: > It is more convenient to look at all available monitors that the VM > has and return the first qmp monitor than relying that the qmp monitor > will be allways be the primary one. In case we can't find one, just > error the test

[PATCH] KVM test: qmp_basic: Go through available monitors to find a qmp one

2011-01-11 Thread Lucas Meneghel Rodrigues
It is more convenient to look at all available monitors that the VM has and return the first qmp monitor than relying that the qmp monitor will be allways be the primary one. In case we can't find one, just error the test with a more descriptive message Also, clarify the exception thrown when the