aboutsummaryrefslogtreecommitdiff
path: root/target/s390x/gen-features.c
diff options
context:
space:
mode:
authorSuraj Jitindar Singh <sjitindarsingh@gmail.com>2018-03-01 17:37:58 +1100
committerDavid Gibson <david@gibson.dropbear.id.au>2018-03-06 13:16:29 +1100
commitcb931c2108a59db0b4a22f0c439ee7362c4f95ab (patch)
treed41e46c6a11bc87c814f6a92a45e0bfa2a680960 /target/s390x/gen-features.c
parentb6712ea39117c87de87b687ec4055e6ddbde9b37 (diff)
target/ppc: Check mask when setting cap_ppc_safe_indirect_branch
Check the character and character_mask field when setting cap_ppc_safe_indirect_branch based on the hypervisor response to KVM_PPC_GET_CPU_CHAR. Previously the mask field wasn't checked which was incorrect. Fixes: 8acc2ae5 (target/ppc/kvm: Add cap_ppc_safe_[cache/bounds_check/indirect_branch]) Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target/s390x/gen-features.c')
0 files changed, 0 insertions, 0 deletions