[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [qemu-s390x] [PATCH v4 12/19] scripts/qemu.py: support adding a cons
From: |
Cornelia Huck |
Subject: |
Re: [qemu-s390x] [PATCH v4 12/19] scripts/qemu.py: support adding a console with the default serial device |
Date: |
Tue, 12 Mar 2019 13:27:30 +0100 |
On Tue, 12 Mar 2019 08:11:43 -0400
Cleber Rosa <address@hidden> wrote:
> The set_console() utility function either adds a device based on the
> explicitly given device type, or adds a known good type of device
> based on the machine type.
>
> But, for a number of machine types, it may be impossible or
> inconvenient to add the devices by means of "-device" command line
> options, and then it may better to just use the "-serial" option and
> let QEMU itself, based on the machine type, set the device
> accordingly.
>
> To achieve that, the behavior of set_console() now flags the intention
> to add a console device on launch(), and if no explicit device type is
> given the "-serial" is going to be added to the QEMU command line,
s/the "-serial"/the "-serial" option/
> instead of raising exceptions.
>
> Based on testing with different machine types, the CONSOLE_DEV_TYPES
> is not necessary anymore, so it's being removed, as it is the logic to
s/as it is/as is/
> use it.
>
> Signed-off-by: Cleber Rosa <address@hidden>
> ---
> python/qemu/__init__.py | 48 ++++++++++++++---------------------------
> 1 file changed, 16 insertions(+), 32 deletions(-)
>
Reviewed-by: Cornelia Huck <address@hidden>
- [qemu-s390x] [PATCH v4 00/19] Acceptance Tests: target architecture support, Cleber Rosa, 2019/03/12
- [qemu-s390x] [PATCH v4 19/19] Boot Linux Console Test: add a test for alpha + clipper, Cleber Rosa, 2019/03/12
- [qemu-s390x] [PATCH v4 18/19] Boot Linux Console Test: add a test for s390x + s390-ccw-virtio, Cleber Rosa, 2019/03/12
- [qemu-s390x] [PATCH v4 17/19] Boot Linux Console Test: add a test for arm + virt, Cleber Rosa, 2019/03/12
- [qemu-s390x] [PATCH v4 16/19] Boot Linux Console Test: add a test for aarch64 + virt, Cleber Rosa, 2019/03/12
- [qemu-s390x] [PATCH v4 15/19] Boot Linux Console Test: add a test for ppc64 + pseries, Cleber Rosa, 2019/03/12
- [qemu-s390x] [PATCH v4 13/19] Boot Linux Console Test: add a test for mips + malta, Cleber Rosa, 2019/03/12
- [qemu-s390x] [PATCH v4 14/19] Boot Linux Console Test: add a test for mips64el + malta, Cleber Rosa, 2019/03/12
- [qemu-s390x] [PATCH v4 12/19] scripts/qemu.py: support adding a console with the default serial device, Cleber Rosa, 2019/03/12
- Re: [qemu-s390x] [PATCH v4 12/19] scripts/qemu.py: support adding a console with the default serial device,
Cornelia Huck <=
- [qemu-s390x] [PATCH v4 11/19] Boot Linux Console Test: refactor the console watcher into utility method, Cleber Rosa, 2019/03/12
- [qemu-s390x] [PATCH v4 10/19] Boot Linux Console Test: increase timeout, Cleber Rosa, 2019/03/12
- [qemu-s390x] [PATCH v4 08/19] Boot Linux Console Test: update the x86_64 kernel, Cleber Rosa, 2019/03/12
- [qemu-s390x] [PATCH v4 09/19] Boot Linux Console Test: add common kernel command line options, Cleber Rosa, 2019/03/12
- [qemu-s390x] [PATCH v4 07/19] Boot Linux Console Test: rename the x86_64 after the arch and machine, Cleber Rosa, 2019/03/12
- [qemu-s390x] [PATCH v4 04/19] Acceptance tests: introduce arch parameter and attribute, Cleber Rosa, 2019/03/12
- [qemu-s390x] [PATCH v4 06/19] Acceptance tests: look for target architecture in test tags first, Cleber Rosa, 2019/03/12