From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:38316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvOtU-00005V-3H for qemu-devel@nongnu.org; Thu, 09 Feb 2012 02:58:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvOtO-0000Af-Db for qemu-devel@nongnu.org; Thu, 09 Feb 2012 02:58:16 -0500 Received: from mail-pz0-f45.google.com ([209.85.210.45]:55162) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvOtO-0000AV-7p for qemu-devel@nongnu.org; Thu, 09 Feb 2012 02:58:10 -0500 Received: by dadp14 with SMTP id p14so1413813dad.4 for ; Wed, 08 Feb 2012 23:58:08 -0800 (PST) Sender: Paolo Bonzini Message-ID: <4F337C8C.1070104@redhat.com> Date: Thu, 09 Feb 2012 08:58:04 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1328714879-18906-1-git-send-email-avi@redhat.com> <1328714879-18906-10-git-send-email-avi@redhat.com> In-Reply-To: <1328714879-18906-10-git-send-email-avi@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 09/10] memory: use a MemoryListener for core memory map updates too List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: qemu-devel@nongnu.org On 02/08/2012 04:27 PM, Avi Kivity wrote: > +static void core_log_stop(MemoryListener *listener, > + MemoryRegionSection *section) > +{ > +} > + > +static void core_log_sync(MemoryListener *listener, > + MemoryRegionSection *section) > +{ > +} > + Why not wrapping the calls inside an "if" so that these dummy functions need not be there? Can be done in a follow-up, though. Paolo