On Wed, Jun 05, 2019 at 05:28:32PM +0200, Peter Krempa wrote:
Introduce 'rc' for collecting state from monitor commands so
that we can
initialize 'ret' to -1. This also fixes few cases which could return 0
from the fucntion despite an error condition.
function
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/qemu/qemu_driver.c | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano