PPC: KVM: Compile fix for qemu_notify_event
PATCH 1/1 PPC: KVM: Compile fix for qemu_notify_event
The function qemu_notify_event is defined by a header that we don't include in the PPC KVM code. Include it to get the code building again.
target-ppc/kvm_ppc.c: In function 'kvmppc_timer_hack':
target-ppc/kvm_ppc.c:26:5: error: implicit declaration of function 'qemu_notify_event' [-Werror=implicit-function-declaration] target-ppc/kvm_ppc.c:26:5: error: nested extern declaration of 'qemu_notify_event' [-Werror=nested-externs]
--- target-ppc/kvm_ppc.c | 1 + 1 file changed, 1 insertion(+)
target-ppc/kvm_ppc.c +1 -0
@@ -15,6 +15,7 @@#include "qemu/timer.h" #include "kvm_ppc.h" #include "sysemu/device_tree.h" +#include "qemu/main-loop.h" #define PROC_DEVTREE_PATH "/proc/device-tree"
Signature · 1 line
1.8.1.4
Am 29.08.2013 02:13, schrieb Alexander Graf:
Quoted 18 lines
The function
qemu_notify_eventis defined by a header that we don't include in the PPC KVM code. Include it to get the code building again.
target-ppc/kvm_ppc.c: In function 'kvmppc_timer_hack':
target-ppc/kvm_ppc.c:26:5: error: implicit declaration of function 'qemu_notify_event' [-Werror=implicit-function-declaration]target-ppc/kvm_ppc.c:26:5: error: nested extern declaration of 'qemu_notify_event' [-Werror=nested-externs]Signed-off-by Alexander Graf <[email protected]>--- target-ppc/kvm_ppc.c | 1 + 1 file changed, 1 insertion(+)target-ppc/kvm_ppc.c +0
-0
target-ppc/kvm_ppc.c line 21
Quoted 7 lines
target-ppc/kvm_ppc.c +1
-0@@ -15,6 +15,7 @@#include "qemu/timer.h" #include "kvm_ppc.h" #include "sysemu/device_tree.h" +#include "qemu/main-loop.h" #define PROC_DEVTREE_PATH "/proc/device-tree"
Matches my local fix, so
but I didn't find out yet who/what broke this, since the qemu_notify_event() line hasn't changed in a long time according to git-blame...
Andreas
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg