From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36458) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbCNk-00074a-00 for qemu-devel@nongnu.org; Fri, 28 Jul 2017 17:01:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dbCNj-0000TS-4m for qemu-devel@nongnu.org; Fri, 28 Jul 2017 17:01:12 -0400 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]:37749) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dbCNi-0000Sv-Uq for qemu-devel@nongnu.org; Fri, 28 Jul 2017 17:01:11 -0400 Received: by mail-wm0-x232.google.com with SMTP id t201so5647521wmt.0 for ; Fri, 28 Jul 2017 14:01:10 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <20170728131151.4802-1-olaf@aepfle.de> From: Peter Maydell Date: Fri, 28 Jul 2017 22:00:49 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v2] xen-disk: use g_new0 to fix build List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= Cc: Olaf Hering , Kevin Wolf , Max Reitz , "open list:All patches CC here" , Anthony Perard , "open list:X86" , Stefano Stabellini , "open list:Block layer core" On 28 July 2017 at 21:49, Philippe Mathieu-Daud=C3=A9 wro= te: > Hi Olaf, > > On 07/28/2017 10:11 AM, Olaf Hering wrote: >> >> g_malloc0_n is available since glib-2.24. To allow build with older glib >> versions use the generic g_new0, which is already used in many other >> places in the code. > > > Can you provide information about which distrib/release/version/[packages= ?] > you used? So we might add the same setup in QEMU continuous integration > system. I do have a build system with our oldest supported glib version (it's my OSX box), and I have a feeling one of the patchew centos configs does this too, but I guess neither of them have the Xen headers to enable the Xen code, which is why this one slipped through. thanks -- PMM