From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57466) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5G5p-0004Ps-Sm for qemu-devel@nongnu.org; Mon, 20 Jan 2014 09:44:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W5G5l-0006G2-CC for qemu-devel@nongnu.org; Mon, 20 Jan 2014 09:44:49 -0500 From: Paolo Bonzini Date: Mon, 20 Jan 2014 15:44:10 +0100 Message-Id: <1390229051-28635-9-git-send-email-pbonzini@redhat.com> In-Reply-To: <1390229051-28635-1-git-send-email-pbonzini@redhat.com> References: <1390229051-28635-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PULL 8/9] KVM: fix addr type for KVM_IOEVENTFD List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: gleb@kernel.org, Alexey Kardashevskiy , mtosatti@redhat.com, qemu-stable@nongnu.org, "Michael S. Tsirkin" From: Alexey Kardashevskiy The @addr here is a guest physical address and can easily be bigger than 4G. This changes uint32_t to hwaddr. Cc: qemu-stable@nongnu.org Cc: Michael S. Tsirkin Signed-off-by: Alexey Kardashevskiy Signed-off-by: Paolo Bonzini --- kvm-all.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kvm-all.c b/kvm-all.c index 6df2ee1..eb38ee4 100644 --- a/kvm-all.c +++ b/kvm-all.c @@ -519,7 +519,7 @@ int kvm_check_extension(KVMState *s, unsigned int extension) return ret; } -static int kvm_set_ioeventfd_mmio(int fd, uint32_t addr, uint32_t val, +static int kvm_set_ioeventfd_mmio(int fd, hwaddr addr, uint32_t val, bool assign, uint32_t size, bool datamatch) { int ret; -- 1.8.3.1