s390x: Enable new s390-storage-keys device
commit0f5f669147b52f89928bdf180165f74c4219210e
authorJason J. Herne <jjherne@linux.vnet.ibm.com>
Fri, 26 Jun 2015 18:01:00 +0000 (26 14:01 -0400)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Thu, 3 Sep 2015 10:17:54 +0000 (3 12:17 +0200)
tree80daed9c487d7bdb2bf64bd2867b7305cc701a0c
parent0efe406cac8a4d9f0b52eada4c6c2a768fe4b7d2
s390x: Enable new s390-storage-keys device

s390 guest initialization is modified to make use of new s390-storage-keys
device. Old code that globally allocated storage key array is removed.
The new device enables storage key access for kvm guests.

Cache storage key QOM objects in frequently used helper functions to avoid a
performance hit every time we use one of these functions.

Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Jason J. Herne <jjherne@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
hw/s390x/s390-virtio-ccw.c
hw/s390x/s390-virtio.c
hw/s390x/s390-virtio.h
target-s390x/cpu.h
target-s390x/mem_helper.c
target-s390x/mmu_helper.c
trace-events