From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58446) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ws9NX-0008KJ-Lf for qemu-devel@nongnu.org; Wed, 04 Jun 2014 07:29:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ws9NQ-0000fx-1F for qemu-devel@nongnu.org; Wed, 04 Jun 2014 07:29:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47334) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ws9NP-0000fr-Ol for qemu-devel@nongnu.org; Wed, 04 Jun 2014 07:29:03 -0400 From: Juan Quintela In-Reply-To: (Sanidhya Kashyap's message of "Wed, 4 Jun 2014 15:46:16 +0530") References: <1401863911-5947-1-git-send-email-sanidhya.iiith@gmail.com> <1401863911-5947-2-git-send-email-sanidhya.iiith@gmail.com> <8761kht2cp.fsf@troll.troll> Date: Wed, 04 Jun 2014 13:29:00 +0200 Message-ID: <87oay8sykj.fsf@troll.troll> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v2 1/8] enable sharing of the function between migration and bitmap dump Reply-To: quintela@redhat.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sanidhya Kashyap Cc: qemu list , "Dr. David Alan Gilbert" Sanidhya Kashyap wrote: >> >> Exporting a function without a prefix could be dangerous. >> >> Later, Juan. > > Any particular solution, as the function is being used at two places. bitmap_* prefix is taken for generic bitmap operations. qemu_bitmap_range_sync() migration_bitmap_range_sync() Use a prefix that is known to be used only on qemu. I can undrestand why you don't want migration, so qemu_ prefix should do the trick? Later, Juan.