qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [patch 15/24] QEMU/KVM: virtio_blk_init return PCIDevice po


From: Marcelo Tosatti
Subject: [Qemu-devel] [patch 15/24] QEMU/KVM: virtio_blk_init return PCIDevice pointer
Date: Tue, 11 Mar 2008 17:12:06 -0300
User-agent: quilt/0.46-1

Signed-off-by: Marcelo Tosatti <address@hidden>

Index: kvm-userspace.hotplug2/qemu/hw/virtio-blk.c
===================================================================
--- kvm-userspace.hotplug2.orig/qemu/hw/virtio-blk.c
+++ kvm-userspace.hotplug2/qemu/hw/virtio-blk.c
@@ -161,5 +161,5 @@ void *virtio_blk_init(PCIBus *bus, uint1
 
     virtio_add_queue(&s->vdev, 128, virtio_blk_handle_output);
 
-    return &s->vdev;
+    return s;
 }

-- 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]