diff options
author | Thomas Huth <thuth@redhat.com> | 2015-04-27 18:59:04 +0200 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2015-04-30 16:06:17 +0300 |
commit | 2ed0c3dad769ab747e1f5448b70eeaf134c76982 (patch) | |
tree | 8f2cbf3153d804a13b3988186d6f344bf8594bf7 /tcg | |
parent | ab7c5aaf31213f5fc96018514e3d258e951d520f (diff) |
kvm: Silence warning from valgrind
valgrind complains here about uninitialized bytes with the following message:
==17814== Syscall param ioctl(generic) points to uninitialised byte(s)
==17814== at 0x466A780: ioctl (in /usr/lib64/power8/libc-2.17.so)
==17814== by 0x100735B7: kvm_vm_ioctl (kvm-all.c:1920)
==17814== by 0x10074583: kvm_set_ioeventfd_mmio (kvm-all.c:574)
Let's fix it by using a proper struct initializer in kvm_set_ioeventfd_mmio().
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'tcg')
0 files changed, 0 insertions, 0 deletions