diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2020-09-15 17:46:38 -0700 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2020-09-18 13:59:51 -0400 |
commit | f62192a2fddb65e7e6e8955a29eee2fe6f0916a8 (patch) | |
tree | eafb5ffea57b9dd0620c861a1be69b15336bac29 /target/s390x | |
parent | 5de5b99b3101a1648ed583193db8d92eea0c4545 (diff) | |
download | qemu-f62192a2fddb65e7e6e8955a29eee2fe6f0916a8.zip qemu-f62192a2fddb65e7e6e8955a29eee2fe6f0916a8.tar.gz qemu-f62192a2fddb65e7e6e8955a29eee2fe6f0916a8.tar.bz2 |
target/s390x: Set instance_align on S390CPU TypeInfo
Fix alignment of CPUS390XState.vregs.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200916004638.2444147-7-richard.henderson@linaro.org>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'target/s390x')
-rw-r--r-- | target/s390x/cpu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/s390x/cpu.c b/target/s390x/cpu.c index 749cd54..e350edc 100644 --- a/target/s390x/cpu.c +++ b/target/s390x/cpu.c @@ -517,6 +517,7 @@ static const TypeInfo s390_cpu_type_info = { .name = TYPE_S390_CPU, .parent = TYPE_CPU, .instance_size = sizeof(S390CPU), + .instance_align = __alignof__(S390CPU), .instance_init = s390_cpu_initfn, .instance_finalize = s390_cpu_finalize, .abstract = true, |