qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug Report] Compile error in current uq/master


From: Arthur Chunqi Li
Subject: [Qemu-devel] [Bug Report] Compile error in current uq/master
Date: Wed, 14 Aug 2013 10:20:56 +0800

Hi Paolo and Vincenzo,

Here is a compile error in current uq/master
(ca916d3729564d0eb3c2374a96903f7e8aced8a7) as follows:

/root/qemu-kvm.git/kvm-stub.c:138:5: error: conflicting types for
'kvm_irqchip_add_irqfd_notifier'
/root/qemu-kvm.git/include/sysemu/kvm.h:312:5: note: previous
declaration of 'kvm_irqchip_add_irqfd_notifier' was here
make[1]: *** [kvm-stub.o] Error 1

This bug is related to the latest patch
ca916d3729564d0eb3c2374a96903f7e8aced8a7 in uq/master. Which needs a
patch:

---
diff --git a/kvm-stub.c b/kvm-stub.c
index 7b2233a..806b044 100644
--- a/kvm-stub.c
+++ b/kvm-stub.c
@@ -135,7 +135,8 @@ int kvm_irqchip_update_msi_route(KVMState *s, int
virq, MSIMessage msg)
     return -ENOSYS;
 }

-int kvm_irqchip_add_irqfd_notifier(KVMState *s, EventNotifier *n, int virq)
+int kvm_irqchip_add_irqfd_notifier(KVMState *s, EventNotifier *n,
+                                   EventNotifier *rn, int virq)
 {
     return -ENOSYS;
 }

-- 
Arthur Chunqi Li
Department of Computer Science
School of EECS
Peking University
Beijing, China



reply via email to

[Prev in Thread] Current Thread [Next in Thread]