Am 08.05.2012 16:52, schrieb Paolo Bonzini:
> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>
> ---
>  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

Reply via email to