]> git.proxmox.com Git - qemu.git/commitdiff
PPC: KVM: Compile fix for qemu_notify_event
authorAlexander Graf <agraf@suse.de>
Thu, 29 Aug 2013 00:00:16 +0000 (02:00 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 2 Sep 2013 08:06:42 +0000 (10:06 +0200)
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]

Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/kvm_ppc.c

index 9b8365503b9856cf3ceba57b22ec7f3c86654679..f769acd44c4fd1742020d30e29194968c0819283 100644 (file)
@@ -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"