On 18/03/2021 23.39, 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 "virtio-scsi-device", "virtio-scsi-ccw" or "virtio-scsi-pci". This already exists for s390x and -ccw interfaces, adds them for m68k and MMIO (-device) interfaces. Signed-off-by: Laurent Vivier <[email protected]> --- softmmu/qdev-monitor.c | 46 +++++++++++++++++++++++++++--------------- 1 file changed, 30 insertions(+), 16 deletions(-)
With the typo mentioned by Philippe fixed: Reviewed-by: Thomas Huth <[email protected]>
