Received: from eggs.gnu.org ([2001:4830:134:3::10]:40783) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xu38L-0007b4-SQ for qemu-devel@nongnu.org; Thu, 27 Nov 2014 12:45:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xu38F-0001Fr-Jm for qemu-devel@nongnu.org; Thu, 27 Nov 2014 12:45:37 -0500 Received: from mx1.redhat.com ([209.132.183.28]:51289) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xu38F-0001FR-9t for qemu-devel@nongnu.org; Thu, 27 Nov 2014 12:45:31 -0500 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 sARHjUNB007789 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Thu, 27 Nov 2014 12:45:30 -0500 From: Markus Armbruster References: <1417010463-3527-2-git-send-email-pbonzini@redhat.com> <873895knke.fsf@blackfin.pond.sub.org> <5477534C.5050905@redhat.com> Date: Thu, 27 Nov 2014 18:45:28 +0100 In-Reply-To: <5477534C.5050905@redhat.com> (Paolo Bonzini's message of "Thu, 27 Nov 2014 17:37:32 +0100") Message-ID: <87y4qwa66f.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH] block: do not use get_clock() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: kwolf@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com Paolo Bonzini writes: > On 27/11/2014 10:19, Markus Armbruster wrote: >> Paolo Bonzini writes: >> >>> Use the external qemu-timer API instead. >> >> Ignorant question: why? > > Because no one else calls it directly, it is an internal function. I > want to keep it confined to qemu-timer.c (and possibly cpus.c in the > icount implementation, but maybe not even that is necessary). That's a perfectly sensible reason. Please add it to the commit message, so we have a more permanent record. Of course, the best permanent record would be a static keyword :)