diff options
author | Alexander Graf <agraf@suse.de> | 2012-05-18 02:36:26 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2012-07-10 18:29:29 +0200 |
commit | 4082e889ee8aa43b303105180399bab14312231e (patch) | |
tree | a5b601b84f90f96dc53fabaf901e0136db8b3d4f /linux-user/s390x | |
parent | rtl8139: validate rx ring before receiving packets (diff) | |
download | qemu-kvm-4082e889ee8aa43b303105180399bab14312231e.tar.gz qemu-kvm-4082e889ee8aa43b303105180399bab14312231e.tar.bz2 qemu-kvm-4082e889ee8aa43b303105180399bab14312231e.zip |
s390x: fix s390 virtio aliases
Some of the virtio devices have the same frontend name, but actually
implement different devices behind the scenes through aliases.
The indicator which device type to use is the architecture. On s390, we
want s390 virtio devices. On everything else, we want PCI devices.
Reflect this in the alias selection code. This way we fix commands like
-device virtio-blk on s390x which with this patch applied select the
correct virtio-blk-s390 device rather than virtio-blk-pci.
Reported-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'linux-user/s390x')
0 files changed, 0 insertions, 0 deletions