hw/xen/xen_pvdev: Include qemu/log.h for qemu_log_vprintf()
authorThomas Huth <thuth@redhat.com>
Wed, 2 Nov 2016 10:19:18 +0000 (11:19 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 2 Nov 2016 19:26:04 +0000 (12:26 -0700)
Olaf Hering reported a build failure due to an undefined reference
to 'qemu_log_vprintf'. Explicitely including qemu/log.h seems to
fix the issue.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
Tested-by: Olaf Hering <olaf@aepfle.de>
hw/xen/xen_pvdev.c

index 405e154..5212bc6 100644 (file)
@@ -18,7 +18,7 @@
  */
 
 #include "qemu/osdep.h"
-
+#include "qemu/log.h"
 #include "hw/xen/xen_backend.h"
 #include "hw/xen/xen_pvdev.h"