From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54518) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yqybg-0005cN-6V for qemu-devel@nongnu.org; Sat, 09 May 2015 02:51:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yqybd-0002lB-0V for qemu-devel@nongnu.org; Sat, 09 May 2015 02:51:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36117) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yqybc-0002l7-PF for qemu-devel@nongnu.org; Sat, 09 May 2015 02:51:24 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t496pN73015324 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Sat, 9 May 2015 02:51:24 -0400 Date: Sat, 9 May 2015 08:51:16 +0200 From: Thomas Huth Message-ID: <20150509085116.2c5535ea@thh440s> In-Reply-To: <1431089344-20350-2-git-send-email-pbonzini@redhat.com> References: <1431089344-20350-1-git-send-email-pbonzini@redhat.com> <1431089344-20350-2-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PULL 1/9] kvm: Silence warning from valgrind List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org On Fri, 8 May 2015 14:48:56 +0200 Paolo Bonzini wrote: > From: Thomas Huth > > 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 > Message-Id: <1430153944-24368-1-git-send-email-thuth@redhat.com> > Signed-off-by: Paolo Bonzini Hi Paolo, I think this patch already got included through the trivial tree, didn't it? Thomas