Fix virtio_blk_init() calls
commit814a1a9dfa68c1ca8bb82f11b650271701da4c51
authorMark McLoughlin <markmc@redhat.com>
Thu, 15 Jan 2009 13:47:29 +0000 (15 13:47 +0000)
committerAvi Kivity <avi@redhat.com>
Thu, 15 Jan 2009 13:56:25 +0000 (15 15:56 +0200)
tree7ffbf727ad090f623c91bb28a6b53f3c7e8ad1dc
parent153ad5aca21d88f5ffd8d736e06bb23273af9b31
Fix virtio_blk_init() calls

This QEMU commit:

  pci: virtio: use pci id defines (Gerd Hoffman)

removed the vendor/device id parameters from virtio_blk_init().

Fixes:

  qemu/hw/device-hotplug.c: In function ‘qemu_system_hot_add_storage’:
  qemu/hw/device-hotplug.c:165: warning: implicit declaration of function ‘virtio_blk_init’
  qemu/hw/device-hotplug.c:166: warning: assignment makes pointer from integer without a cast

(Note: the ia64 fix is untested)

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
hw/device-hotplug.c
hw/ipf.c