summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorChristian Borntraeger <borntraeger@de.ibm.com>2015-12-08 09:16:27 +0100
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:29:55 -0600
commit3d0381c4006b0531d24df50f268909e8d357b1d7 (patch)
treeb684eede7fd26149b69fd063b99c6e597141270c /hw
parentd3c2a9a8a36e1c1ebcbff0b11998b0e8c82dc38c (diff)
downloadhqemu-3d0381c4006b0531d24df50f268909e8d357b1d7.zip
hqemu-3d0381c4006b0531d24df50f268909e8d357b1d7.tar.gz
s390x/skeys: Fix instance and class size
fix a typo that messes up instance and class size. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/s390x/s390-skeys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/s390x/s390-skeys.c b/hw/s390x/s390-skeys.c
index f2b732e..0cd3407 100644
--- a/hw/s390x/s390-skeys.c
+++ b/hw/s390x/s390-skeys.c
@@ -237,7 +237,7 @@ static const TypeInfo qemu_s390_skeys_info = {
.instance_init = qemu_s390_skeys_init,
.instance_size = sizeof(QEMUS390SKeysState),
.class_init = qemu_s390_skeys_class_init,
- .instance_size = sizeof(S390SKeysClass),
+ .class_size = sizeof(S390SKeysClass),
};
static void s390_storage_keys_save(QEMUFile *f, void *opaque)
OpenPOWER on IntegriCloud