diff options
author | Cleber Rosa <crosa@redhat.com> | 2018-05-30 14:41:55 -0400 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2018-06-15 16:10:11 -0300 |
commit | 22dea9db2baf72a79782c748c57e2d87b06234d5 (patch) | |
tree | f5b464095207c03863c0c25eded9fdd085abd88b /configure | |
parent | 7b1bd11cff0915a1266c34bdfb66d70f6372340d (diff) |
scripts/qemu.py: introduce set_console() method
The set_console() method is intended to ease higher level use cases
that require a console device.
The amount of intelligence is limited on purpose, requiring either the
device type explicitly, or the existence of a machine (pattern)
definition.
Because of the console device type selection criteria (by machine
type), users should also be able to define that. It'll then be used
for both '-machine' and for the console device type selection.
Users of the set_console() method will certainly be interested in
accessing the console device, and for that a console_socket property
has been added.
Signed-off-by: Cleber Rosa <crosa@redhat.com>
Message-Id: <20180530184156.15634-5-crosa@redhat.com>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions