OSDN Git Service

s390x/kvm: Handle bpb feature
authorChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 18 Jan 2018 08:56:27 +0000 (09:56 +0100)
committerCornelia Huck <cohuck@redhat.com>
Mon, 22 Jan 2018 10:22:30 +0000 (11:22 +0100)
commitb073c87517d4d348c7bac0f0b35e8e83e6354d82
tree4c00978328434618b9f2378350f9807b369a0a16
parent9cbb636270b4df6f0a548e5c34b895330db5df8b
s390x/kvm: Handle bpb feature

We need to handle the bpb control on reset and migration. Normally
stfle.82 is transparent (and the normal guest part works without
hypervisor activity). To prevent any issues we require full
host kernel support for this feature.

Cc: qemu-stable@nongnu.org
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Message-Id: <20180118085628.40798-3-borntraeger@de.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
[CH: 'Branch Prediction Blocking' -> 'Branch prediction blocking']
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/cpu.c
target/s390x/cpu.h
target/s390x/cpu_features.c
target/s390x/cpu_features_def.h
target/s390x/gen-features.c
target/s390x/kvm.c
target/s390x/machine.c