diff options
author | Alexander Graf <agraf@suse.de> | 2012-05-18 02:36:26 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2012-06-18 15:32:45 +0200 |
commit | 5f629d943cb0b11c37a891cf4f40a9166aee6f53 (patch) | |
tree | 228b0103740c103695e33578480eb0cac5e0406c /linux-headers | |
parent | eb2aeacf983a2a88a2b31e8fee067c38bd10abd3 (diff) |
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-headers')
0 files changed, 0 insertions, 0 deletions