summaryrefslogtreecommitdiffstats
path: root/osdep.h
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2012-05-18 02:36:26 +0200
committerAlexander Graf <agraf@suse.de>2012-06-18 15:32:45 +0200
commit5f629d943cb0b11c37a891cf4f40a9166aee6f53 (patch)
tree228b0103740c103695e33578480eb0cac5e0406c /osdep.h
parenteb2aeacf983a2a88a2b31e8fee067c38bd10abd3 (diff)
downloadhqemu-5f629d943cb0b11c37a891cf4f40a9166aee6f53.zip
hqemu-5f629d943cb0b11c37a891cf4f40a9166aee6f53.tar.gz
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 'osdep.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud