From: Carlo Marcelo Arenas Belon Subject: [PATCH] qemu: missing definition for virtio_blk in device-hotplug Date: Wed, 24 Dec 2008 15:08:20 +0000 Message-ID: <20081224150820.GA26135@sajinet.com.pe> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: kvm@vger.kernel.org Return-path: Received: from sajino.sajinet.com.pe ([76.74.239.193]:49294 "EHLO sajino.sajinet.com.pe" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751215AbYLXP3o (ORCPT ); Wed, 24 Dec 2008 10:29:44 -0500 Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: Trivial fix for the following warning : kvm-81/qemu/hw/device-hotplug.c:165: warning: implicit declaration of function 'virtio_blk_init' Signed-off-by: Carlo Marcelo Arenas Belon --- qemu/hw/device-hotplug.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/qemu/hw/device-hotplug.c b/qemu/hw/device-hotplug.c index 0bcac60..1056763 100644 --- a/qemu/hw/device-hotplug.c +++ b/qemu/hw/device-hotplug.c @@ -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 -- 1.6.0.6