qemu-e2k/target/s390x
Cornelia Huck 8ad9087c4a 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>
2017-09-19 18:31:32 +02:00
..
arch_dump.c exec,dump,i386,ppc,s390x: don't include exec/cpu-all.h explicitly 2017-09-19 18:21:33 +02:00
cc_helper.c target/s390x: introduce internal.h 2017-08-30 18:23:25 +02:00
cpu_features_def.h
cpu_features.c target/s390x: introduce (test|set)_be_bit 2017-07-25 09:17:42 +02:00
cpu_features.h target/s390x: introduce (test|set)_be_bit 2017-07-25 09:17:42 +02:00
cpu_models.c s390x/ccw: create s390 phb for compat reasons as well 2017-09-19 18:31:32 +02:00
cpu_models.h target/s390x: move some s390x typedefs to cpu-qom.h 2017-09-19 18:31:31 +02:00
cpu-qom.h target/s390x: rename next_cpu_id to next_core_id 2017-09-19 18:31:32 +02:00
cpu.c s390x: allow CPU hotplug in random core-id order 2017-09-19 18:31:32 +02:00
cpu.h s390x: get rid of cpu_s390x_create() 2017-09-19 18:31:32 +02:00
diag.c s390x: move subsystem_reset() to s390-virtio-ccw.h 2017-09-19 18:31:31 +02:00
excp_helper.c target/s390x: use "core-id" for cpu number/address/id handling 2017-09-19 18:31:32 +02:00
fpu_helper.c target/s390x: introduce internal.h 2017-08-30 18:23:25 +02:00
gdbstub.c target/s390x: introduce internal.h 2017-08-30 18:23:25 +02:00
gen-features.c s390/cpumodel: remove KSS from the default model of z14 2017-07-25 09:17:42 +02:00
helper.c s390x: get rid of cpu_s390x_create() 2017-09-19 18:31:32 +02:00
helper.h
insn-data.def
insn-format.def
int_helper.c target/s390x: introduce internal.h 2017-08-30 18:23:25 +02:00
internal.h s390x: get rid of cpu_s390x_create() 2017-09-19 18:31:32 +02:00
interrupt.c s390x/kvm: move KVM declarations and stubs to separate files 2017-08-30 18:23:26 +02:00
ioinst.c target/s390x: introduce internal.h 2017-08-30 18:23:25 +02:00
kvm_s390x.h s390x/kvm: move KVM declarations and stubs to separate files 2017-08-30 18:23:26 +02:00
kvm-stub.c s390x/kvm: move KVM declarations and stubs to separate files 2017-08-30 18:23:26 +02:00
kvm.c s390x: move s390_virtio_hypercall() to s390-virtio-hcall.h 2017-09-19 18:31:31 +02:00
machine.c s390x/kvm: move KVM declarations and stubs to separate files 2017-08-30 18:23:26 +02:00
Makefile.objs s390x/kvm: move KVM declarations and stubs to separate files 2017-08-30 18:23:26 +02:00
mem_helper.c target/s390x: introduce internal.h 2017-08-30 18:23:25 +02:00
misc_helper.c target/s390x: use "core-id" for cpu number/address/id handling 2017-09-19 18:31:32 +02:00
mmu_helper.c s390x/kvm: move KVM declarations and stubs to separate files 2017-08-30 18:23:26 +02:00
trace-events trace-events: fix code style: print 0x before hex numbers 2017-08-01 12:13:07 +01:00
translate.c target/s390x: use "core-id" for cpu number/address/id handling 2017-09-19 18:31:32 +02:00