All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Glauber Costa <glommer@redhat.com>
Cc: kvm@vger.kernel.org
Subject: Re: [PATCH 2/4] cleanup mmio coalescing functions
Date: Thu, 11 Jun 2009 12:19:29 +0300	[thread overview]
Message-ID: <4A30CC21.6000309@redhat.com> (raw)
In-Reply-To: <1244664293-9502-3-git-send-email-glommer@redhat.com>

Glauber Costa wrote:
> remove wrappers that existed only due to qemu/libkvm separation.
> Use qemu types for function definitions.
>
>  
> -int kvm_register_coalesced_mmio(kvm_context_t kvm, uint64_t addr, uint32_t size)
> +int kvm_coalesce_mmio_region(target_phys_addr_t addr, ram_addr_t size)
>  {
>  #ifdef KVM_CAP_COALESCED_MMIO
> +    kvm_context_t kvm = kvm_context;
>   

While all this code is doomed, please maintain consistent indentation 
while it lives.

>  	struct kvm_coalesced_mmio_zone zone;
>  	int r;
>  
> @@ -1121,9 +1122,10 @@ int kvm_register_coalesced_mmio(kvm_context_t kvm, uint64_t addr, uint32_t size)
>  	return -ENOSYS;
>  }
>  
> -int kvm_unregister_coalesced_mmio(kvm_context_t kvm, uint64_t addr, uint32_t size)
> +int kvm_uncoalesce_mmio_region(target_phys_addr_t addr, ram_addr_t size)
>  {
>  #ifdef KVM_CAP_COALESCED_MMIO
> +    kvm_context_t kvm = kvm_context;
>   

Here too.


-- 
error compiling committee.c: too many arguments to function


  parent reply	other threads:[~2009-06-11  9:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-10 20:04 [PATCH 0/4] qemu-kvm cleanup Glauber Costa
2009-06-10 20:04 ` [PATCH 1/4] qemu-kvm.c memory cleanup Glauber Costa
2009-06-10 20:04   ` [PATCH 2/4] cleanup mmio coalescing functions Glauber Costa
2009-06-10 20:04     ` [PATCH 3/4] remove callbacks structure Glauber Costa
2009-06-10 20:04       ` [PATCH 4/4] remove wrappers around ex-libkvm functions Glauber Costa
2009-06-11  9:19     ` Avi Kivity [this message]
2009-06-11  9:17 ` [PATCH 0/4] qemu-kvm cleanup Avi Kivity
2009-06-11  9:21   ` Avi Kivity
2009-06-11 14:31 Glauber Costa
2009-06-11 14:32 ` [PATCH 1/4] qemu-kvm.c memory cleanup Glauber Costa
2009-06-11 14:32   ` [PATCH 2/4] cleanup mmio coalescing functions Glauber Costa

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=4A30CC21.6000309@redhat.com \
    --to=avi@redhat.com \
    --cc=glommer@redhat.com \
    --cc=kvm@vger.kernel.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.