projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
076796f
)
valgrind/s390x: avoid false positives on KVM_SET_FPU ioctl
author
Christian Borntraeger
<borntraeger@de.ibm.com>
Thu, 30 Oct 2014 09:05:28 +0000
(10:05 +0100)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Mon, 15 Dec 2014 11:21:01 +0000
(12:21 +0100)
struct kvm_fpu contains an alignment padding on s390x. Let's use a
designated initializer to avoid false positives from valgrind/memcheck.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target-s390x/kvm.c
patch
|
blob
|
history
diff --git
a/target-s390x/kvm.c
b/target-s390x/kvm.c
index 1b79c4de7568682effd8784fa1f0805b8c334cd3..1dcdaa6662e6272a91899418e44d7b8af6e5f2fd 100644
(file)
--- a/
target-s390x/kvm.c
+++ b/
target-s390x/kvm.c
@@
-208,7
+208,7
@@
int kvm_arch_put_registers(CPUState *cs, int level)
CPUS390XState *env = &cpu->env;
struct kvm_sregs sregs;
struct kvm_regs regs;
- struct kvm_fpu fpu;
+ struct kvm_fpu fpu
= {}
;
int r;
int i;