Re: [Autotest] [KVM-AUTOTEST PATCH] [RFC] KVM test: kvm_monitor.py: refactor _get_command_output()

2010-10-19 Thread Michael Goldish
On 10/18/2010 08:45 PM, Luiz Capitulino wrote: On Mon, 18 Oct 2010 15:13:39 +0200 Michael Goldish mgold...@redhat.com wrote: Instead of _get_command_output() and friends, introduce the following methods: * QMP: - _send(): send raw data without waiting for a response -

[KVM-AUTOTEST PATCH] [RFC] KVM test: kvm_monitor.py: refactor _get_command_output()

2010-10-18 Thread Michael Goldish
Instead of _get_command_output() and friends, introduce the following methods: * QMP: - _send(): send raw data without waiting for a response - _get_response(): get the response to a previously sent command - cmd(): send a command with arguments, return response, raise an exception

Re: [Autotest] [KVM-AUTOTEST PATCH] [RFC] KVM test: kvm_monitor.py: refactor _get_command_output()

2010-10-18 Thread Lucas Meneghel Rodrigues
On Mon, 2010-10-18 at 15:13 +0200, Michael Goldish wrote: Instead of _get_command_output() and friends, introduce the following methods: * QMP: - _send(): send raw data without waiting for a response - _get_response(): get the response to a previously sent command - cmd(): send a

Re: [Autotest] [KVM-AUTOTEST PATCH] [RFC] KVM test: kvm_monitor.py: refactor _get_command_output()

2010-10-18 Thread Luiz Capitulino
On Mon, 18 Oct 2010 14:28:44 -0200 Lucas Meneghel Rodrigues l...@redhat.com wrote: On Mon, 2010-10-18 at 15:13 +0200, Michael Goldish wrote: Instead of _get_command_output() and friends, introduce the following methods: * QMP: - _send(): send raw data without waiting for a response

Re: [Autotest] [KVM-AUTOTEST PATCH] [RFC] KVM test: kvm_monitor.py: refactor _get_command_output()

2010-10-18 Thread Luiz Capitulino
On Mon, 18 Oct 2010 15:13:39 +0200 Michael Goldish mgold...@redhat.com wrote: Instead of _get_command_output() and friends, introduce the following methods: * QMP: - _send(): send raw data without waiting for a response - _get_response(): get the response to a previously sent command

Re: [Autotest] [KVM-AUTOTEST PATCH] [RFC] KVM test: kvm_monitor.py: refactor _get_command_output()

2010-10-18 Thread Lucas Meneghel Rodrigues
On Mon, 2010-10-18 at 16:25 -0200, Luiz Capitulino wrote: On Mon, 18 Oct 2010 14:28:44 -0200 Lucas Meneghel Rodrigues l...@redhat.com wrote: On Mon, 2010-10-18 at 15:13 +0200, Michael Goldish wrote: Instead of _get_command_output() and friends, introduce the following methods: