[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 2/6] m68k: add the virtio devices aliases
From: |
Cornelia Huck |
Subject: |
Re: [PATCH v2 2/6] m68k: add the virtio devices aliases |
Date: |
Fri, 19 Mar 2021 15:41:36 +0100 |
On Fri, 19 Mar 2021 14:25:33 +0100
Laurent Vivier <laurent@vivier.eu> 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: Cornelia Huck <cohuck@redhat.com>