summary refs log tree commit diff stats
path: root/hw/display
diff options
context:
space:
mode:
authorCornelia Huck <cohuck@redhat.com>2017-09-15 11:45:23 +0200
committerCornelia Huck <cohuck@redhat.com>2017-09-19 18:31:32 +0200
commit8ad9087c4a07ad1a19ae03ffd2c504f5fba40e84 (patch)
treeba2a155c0634dd04ae1bf662e6529371790f1eae /hw/display
parent3aa35fcffcf0fe22ac48d4277ed6057ae3e57ce0 (diff)
downloadfocaccia-qemu-8ad9087c4a07ad1a19ae03ffd2c504f5fba40e84.tar.gz
focaccia-qemu-8ad9087c4a07ad1a19ae03ffd2c504f5fba40e84.zip
s390x/ccw: create s390 phb for compat reasons as well
d32bd032d8 ("s390x/ccw: create s390 phb conditionally") made
registering the s390 pci host bridge conditional on presense
of the zpci facility bit. Sadly, that breaks migration from
machines that did not use the cpu model (2.7 and previous).

Create the s390 phb for pre-cpu model machines as well: We can
tweak s390_has_feat() to always indicate the zpci facility bit
when no cpu model is available (on 2.7 and previous compat machines).

Fixes: d32bd032d8 ("s390x/ccw: create s390 phb conditionally")
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'hw/display')
0 files changed, 0 insertions, 0 deletions