From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35900) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyLqY-0000ud-R7 for qemu-devel@nongnu.org; Tue, 20 Mar 2018 14:18:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eyLqY-0002Rh-6O for qemu-devel@nongnu.org; Tue, 20 Mar 2018 14:18:54 -0400 References: <20180320173632.25480-1-kwolf@redhat.com> <20180320173632.25480-3-kwolf@redhat.com> From: Eric Blake Message-ID: Date: Tue, 20 Mar 2018 13:18:39 -0500 MIME-Version: 1.0 In-Reply-To: <20180320173632.25480-3-kwolf@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH for-2.12 02/12] vdi: Fix build with CONFIG_VDI_DEBUG List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf , qemu-block@nongnu.org Cc: mreitz@redhat.com, den@openvz.org, jcody@redhat.com, berrange@redhat.com, qemu-devel@nongnu.org On 03/20/2018 12:36 PM, Kevin Wolf wrote: > Use qemu_uuid_unparse() instead of uuid_unparse() to make vdi.c compile > again when CONFIG_VDI_DEBUG is set. In order to prevent future bitrot, > replace '#ifdef CONFIG_VDI_DEBUG' by 'if (VDI_DEBUG)' so that the > compiler always sees the code. > > Signed-off-by: Kevin Wolf > --- > block/vdi.c | 22 ++++++++++------------ > 1 file changed, 10 insertions(+), 12 deletions(-) > Reviewed-by: Eric Blake -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org