diff options
author | Jason J. Herne <jjherne@linux.vnet.ibm.com> | 2015-06-26 14:01:00 -0400 |
---|---|---|
committer | Cornelia Huck <cornelia.huck@de.ibm.com> | 2015-09-03 12:17:54 +0200 |
commit | 0f5f669147b52f89928bdf180165f74c4219210e (patch) | |
tree | 80daed9c487d7bdb2bf64bd2867b7305cc701a0c /target-s390x/cpu.h | |
parent | 0efe406cac8a4d9f0b52eada4c6c2a768fe4b7d2 (diff) | |
download | qemu-0f5f669147b52f89928bdf180165f74c4219210e.zip qemu-0f5f669147b52f89928bdf180165f74c4219210e.tar.gz qemu-0f5f669147b52f89928bdf180165f74c4219210e.tar.bz2 |
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>
Diffstat (limited to 'target-s390x/cpu.h')
-rw-r--r-- | target-s390x/cpu.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/target-s390x/cpu.h b/target-s390x/cpu.h index 63aebf4..b650890 100644 --- a/target-s390x/cpu.h +++ b/target-s390x/cpu.h @@ -143,8 +143,6 @@ typedef struct CPUS390XState { uint32_t cpu_num; uint32_t machine_type; - uint8_t *storage_keys; - uint64_t tod_offset; uint64_t tod_basetime; QEMUTimer *tod_timer; |