Skip to contentSkip to conversation

qemu: missing definition for virtio_blk in device-hotplug

PATCH New Carlo Marcelo Arenas Belon 1 participant 1 message Dec 24, 2008 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qemu: missing definition for virtio_blk in device-hotplug

Trivial fix for the following warning :

kvm-81/qemu/hw/device-hotplug.c:165: warning: implicit declaration of function 'virtio_blk_init'

---
 qemu/hw/device-hotplug.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
qemu/hw/device-hotplug.c +1 -0
index 0bcac60..1056763 100644
@@ -8,6 +8,7 @@
 #include "block_int.h"
 #include "device-assignment.h"
 #include "config.h"
+#include "virtio-blk.h"
 
 #define PCI_BASE_CLASS_STORAGE          0x01
 #define PCI_BASE_CLASS_NETWORK          0x02
Signature · 1 line
1.6.0.6