All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hollis Blanchard <hollisb-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
To: Amit Shah <amit.shah-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	qemu-devel-qX2TKyscuCcdnm+yROfE0A@public.gmane.org
Subject: Re: [PATCH 1/2] KVM userspace: Add PCI device	passthrough support
Date: Wed, 07 Nov 2007 14:01:32 -0600	[thread overview]
Message-ID: <1194465692.32757.2.camel@basalt> (raw)
In-Reply-To: <cc1a3d4ee5e648e13b3c75fc62d9c6c00405c322.1194464687.git.amit.shah-atKUWr5tajBWk0Htik3J/w@public.gmane.org>

I'm sorry these comments aren't substantive, but please watch your
whitespace...

On Wed, 2007-11-07 at 21:45 +0200, Amit Shah wrote:
> diff --git a/qemu/Makefile b/qemu/Makefile
> index 053c88c..3e599f3 100644
> --- a/qemu/Makefile
> +++ b/qemu/Makefile
> @@ -37,7 +37,7 @@ qemu-img$(EXESUF): qemu-img.c cutils.c block.c
> block-raw.c block-cow.c block-qco
>  dyngen$(EXESUF): dyngen.c
>         $(HOST_CC) $(CFLAGS) $(CPPFLAGS) $(BASE_CFLAGS) -o $@ $^
> 
> -clean:
> +clean: 
>  # avoid old build problems by removing potentially incorrect old
> files
>         rm -f config.mak config.h op-i386.h opc-i386.h gen-op-i386.h
> op-arm.h opc-arm.h gen-op-arm.h
>         rm -f *.o *.a $(TOOLS) dyngen$(EXESUF) TAGS cscope.* *.pod *~
> */*~

Extra space.

> @@ -88,8 +88,8 @@ endif
>  test speed test2: all
>         $(MAKE) -C tests $@
> 
> -TAGS:
> -       etags *.[ch] tests/*.[ch]
> +TAGS: 
> +       etags *.[ch] tests/*.[ch] hw/passthrough/*.[ch]
> 
>  cscope:
>         rm -f ./cscope.*

Another extra space.

> diff --git a/qemu/exec.c b/qemu/exec.c
> index 3e588d5..7a21ca5 100644
> --- a/qemu/exec.c
> +++ b/qemu/exec.c
> @@ -2484,6 +2484,7 @@ int cpu_register_io_memory(int io_index,
>          if (io_mem_nb >= IO_MEM_NB_ENTRIES)
>              return -1;
>          io_index = io_mem_nb++;
> +       fprintf(stderr, "iomem index %d out of %d\n", io_index,
> IO_MEM_NB_ENTRIES);
>      } else {
>          if (io_index >= IO_MEM_NB_ENTRIES)
>              return -1;

Bad indentation.

I didn't check the rest of your patches for this, so you should skim
them...

-- 
Hollis Blanchard
IBM Linux Technology Center


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

WARNING: multiple messages have this Message-ID (diff)
From: Hollis Blanchard <hollisb@us.ibm.com>
To: Amit Shah <amit.shah@qumranet.com>
Cc: kvm-devel@lists.sourceforge.net, qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: [kvm-devel] [PATCH 1/2] KVM userspace: Add PCI device passthrough support
Date: Wed, 07 Nov 2007 14:01:32 -0600	[thread overview]
Message-ID: <1194465692.32757.2.camel@basalt> (raw)
In-Reply-To: <cc1a3d4ee5e648e13b3c75fc62d9c6c00405c322.1194464687.git.amit.shah@qumranet.com>

I'm sorry these comments aren't substantive, but please watch your
whitespace...

On Wed, 2007-11-07 at 21:45 +0200, Amit Shah wrote:
> diff --git a/qemu/Makefile b/qemu/Makefile
> index 053c88c..3e599f3 100644
> --- a/qemu/Makefile
> +++ b/qemu/Makefile
> @@ -37,7 +37,7 @@ qemu-img$(EXESUF): qemu-img.c cutils.c block.c
> block-raw.c block-cow.c block-qco
>  dyngen$(EXESUF): dyngen.c
>         $(HOST_CC) $(CFLAGS) $(CPPFLAGS) $(BASE_CFLAGS) -o $@ $^
> 
> -clean:
> +clean: 
>  # avoid old build problems by removing potentially incorrect old
> files
>         rm -f config.mak config.h op-i386.h opc-i386.h gen-op-i386.h
> op-arm.h opc-arm.h gen-op-arm.h
>         rm -f *.o *.a $(TOOLS) dyngen$(EXESUF) TAGS cscope.* *.pod *~
> */*~

Extra space.

> @@ -88,8 +88,8 @@ endif
>  test speed test2: all
>         $(MAKE) -C tests $@
> 
> -TAGS:
> -       etags *.[ch] tests/*.[ch]
> +TAGS: 
> +       etags *.[ch] tests/*.[ch] hw/passthrough/*.[ch]
> 
>  cscope:
>         rm -f ./cscope.*

Another extra space.

> diff --git a/qemu/exec.c b/qemu/exec.c
> index 3e588d5..7a21ca5 100644
> --- a/qemu/exec.c
> +++ b/qemu/exec.c
> @@ -2484,6 +2484,7 @@ int cpu_register_io_memory(int io_index,
>          if (io_mem_nb >= IO_MEM_NB_ENTRIES)
>              return -1;
>          io_index = io_mem_nb++;
> +       fprintf(stderr, "iomem index %d out of %d\n", io_index,
> IO_MEM_NB_ENTRIES);
>      } else {
>          if (io_index >= IO_MEM_NB_ENTRIES)
>              return -1;

Bad indentation.

I didn't check the rest of your patches for this, so you should skim
them...

-- 
Hollis Blanchard
IBM Linux Technology Center

  parent reply	other threads:[~2007-11-07 20:01 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-07 19:45 [PATCH 1/2] KVM userspace: Add PCI device passthrough support Amit Shah
2007-11-07 19:45 ` Amit Shah
2007-11-07 19:45   ` [Qemu-devel] " Amit Shah
2007-11-07 19:45   ` Amit Shah
2007-11-07 19:45     ` Amit Shah
2007-11-07 19:45     ` [PATCH 2/2] KVM Userspace: IRQ injection into guest Amit Shah
2007-11-07 19:45       ` Amit Shah
     [not found]   ` <11944647133010-git-send-email-amit.shah-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-11-08  6:28     ` [PATCH 1/2] KVM userspace: Add PCI device passthrough support Avi Kivity
2007-11-08  6:28       ` [Qemu-devel] Re: [kvm-devel] " Avi Kivity
2007-11-08  9:19     ` [Qemu-devel] " Fabrice Bellard
2007-11-08  9:19       ` Fabrice Bellard
     [not found]       ` <4732D495.50000-+Yn2HnRVxb5AfugRpC6u6w@public.gmane.org>
2007-11-08 10:00         ` Dor Laor
2007-11-08 10:00           ` [kvm-devel] " Dor Laor
2007-11-07 19:45 ` [PATCH 2/2] KVM Userspace: IRQ injection into guest Amit Shah
2007-11-07 19:45   ` Amit Shah
2007-11-07 19:45     ` [Qemu-devel] " Amit Shah
2007-11-07 20:01 ` Hollis Blanchard [this message]
2007-11-07 20:01   ` [Qemu-devel] Re: [kvm-devel] [PATCH 1/2] KVM userspace: Add PCI device passthrough support Hollis Blanchard
2007-11-08  6:12   ` Amit Shah
2007-11-08  6:12     ` [Qemu-devel] Re: [kvm-devel] " Amit Shah

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1194465692.32757.2.camel@basalt \
    --to=hollisb-r/jw6+rmf7hqt0dzr+alfa@public.gmane.org \
    --cc=amit.shah-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=qemu-devel-qX2TKyscuCcdnm+yROfE0A@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.