diff options
Diffstat (limited to 'hw/virtio.c')
-rw-r--r-- | hw/virtio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/virtio.c b/hw/virtio.c index 463d74b..45a49fa 100644 --- a/hw/virtio.c +++ b/hw/virtio.c @@ -636,7 +636,8 @@ VirtIODevice *virtio_common_init(const char *name, uint16_t device_id, else vdev->config = NULL; - qemu_register_reset(virtio_reset, vdev); + qemu_register_reset(virtio_reset, 0, vdev); + return vdev; } |