]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/vm: serial console support helpers
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 17 Jun 2019 04:38:53 +0000 (06:38 +0200)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 4 Jul 2019 18:22:58 +0000 (19:22 +0100)
commit8dd3833410c29dab1a2f63af2ab71f71f8ccccfc
tree2abe2b86755703e54e53021b5b0cea13d7cc5bcf
parentb1210f027883213638496ad2cb0b1878f0535251
tests/vm: serial console support helpers

Add a bunch of helpers to talk to the guest using the
serial console.

Also drop the hard-coded -serial parameter for the vm
so QEMUMachine.set_console() actually works.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Tested-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190617043858.8290-7-kraxel@redhat.com>
[AJB: added tags]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
tests/vm/basevm.py