From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:39318) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SS7Jz-0004rF-Fz for qemu-devel@nongnu.org; Wed, 09 May 2012 09:53:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SS7Jq-0000DZ-Sy for qemu-devel@nongnu.org; Wed, 09 May 2012 09:52:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:61642) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SS7Jq-0000DS-LM for qemu-devel@nongnu.org; Wed, 09 May 2012 09:52:42 -0400 Message-ID: <4FAA7693.8010303@redhat.com> Date: Wed, 09 May 2012 15:52:19 +0200 From: Kevin Wolf MIME-Version: 1.0 References: <1336488722-13120-1-git-send-email-pbonzini@redhat.com> <1336488722-13120-23-git-send-email-pbonzini@redhat.com> In-Reply-To: <1336488722-13120-23-git-send-email-pbonzini@redhat.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1.1 22/22] stream: move rate limiting to a separate header file List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org, stefanha@linux.vnet.ibm.com Am 08.05.2012 16:52, schrieb Paolo Bonzini: > Signed-off-by: Paolo Bonzini > --- > block/stream.c | 31 ++-------------------------- > include/qemu/ratelimit.h | 50 ++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 52 insertions(+), 29 deletions(-) > create mode 100644 include/qemu/ratelimit.h > > diff --git a/block/stream.c b/block/stream.c > index 7276307..a2ad376 100644 > --- a/block/stream.c > +++ b/block/stream.c > @@ -13,6 +13,7 @@ > > #include "trace.h" > #include "block_int.h" > +#include "qemu/ratelimit.h" > > enum { > /* > @@ -25,34 +26,6 @@ enum { > > #define SLICE_TIME 100000000ULL /* ns */ This line is duplicated now. Kevin