summary refs log tree commit diff stats
path: root/hw/core/machine-qmp-cmds.c
diff options
context:
space:
mode:
authorWillian Rampazzo <willianr@redhat.com>2021-03-03 17:53:19 -0300
committerCleber Rosa <crosa@redhat.com>2021-03-16 22:17:33 -0400
commitcd093d5a2c92c34657c328affcb6ce5413cd205e (patch)
treee92512bf552119a1d35fd35599ca5cf6101e527c /hw/core/machine-qmp-cmds.c
parentf9cc00346d3e572ac128bc9b932b02c512490271 (diff)
downloadfocaccia-qemu-cd093d5a2c92c34657c328affcb6ce5413cd205e.tar.gz
focaccia-qemu-cd093d5a2c92c34657c328affcb6ce5413cd205e.zip
avocado_qemu: add exec_command function
Sometimes a test needs to send a command to a console without waiting
for a pattern as a result, or the command issued do not produce any kind
of output, like, for example, a `mount` command.

This introduces the `exec_command` function to the avocado_qemu,
allowing the test to send a command to the console without the need to
match a pattern produced as a result.

Signed-off-by: Willian Rampazzo <willianr@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Tested-by: Cleber Rosa <crosa@redhat.com>
Message-Id: <20210303205320.146047-2-willianr@redhat.com>
Signed-off-by: Cleber Rosa <crosa@redhat.com>
Diffstat (limited to 'hw/core/machine-qmp-cmds.c')
0 files changed, 0 insertions, 0 deletions