[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 2/6] m68k: add the virtio devices aliases
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v2 2/6] m68k: add the virtio devices aliases |
Date: |
Fri, 19 Mar 2021 14:33:32 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 |
On 3/19/21 2:25 PM, Laurent Vivier wrote:
> Similarly to 5f629d943cb0 ("s390x: fix s390 virtio aliases"),
> define the virtio aliases.
>
> This allows to start machines with virtio devices without
> knowledge of the implementation type.
>
> For instance, we can use "-device virtio-scsi" on
> m68k, s390x or PC, and the device will be respectively
> "virtio-scsi-device", "virtio-scsi-ccw" or "virtio-scsi-pci".
>
> This already exists for s390x and -ccw interfaces, add them
> for m68k and MMIO (-device) interfaces.
>
> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
> ---
> include/sysemu/arch_init.h | 1 +
> softmmu/qdev-monitor.c | 12 ++++++++++++
> 2 files changed, 13 insertions(+)
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
- [PATCH v2 0/6] iotests: fix failures with non-PCI machines, Laurent Vivier, 2021/03/19
- [PATCH v2 1/6] qdev: define list of archs with virtio-pci or virtio-ccw, Laurent Vivier, 2021/03/19
- [PATCH v2 2/6] m68k: add the virtio devices aliases, Laurent Vivier, 2021/03/19
- [PATCH v2 3/6] blockdev: with -drive if=virtio, use generic virtio-blk, Laurent Vivier, 2021/03/19
- [PATCH v2 4/6] iotests: Revert "iotests: use -ccw on s390x for 040, 139, and 182", Laurent Vivier, 2021/03/19
- [PATCH v2 5/6] iotests: test m68k with the virt machine, Laurent Vivier, 2021/03/19