diff options
Diffstat (limited to 'hw/virtio/virtio-balloon.c')
-rw-r--r-- | hw/virtio/virtio-balloon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/virtio/virtio-balloon.c b/hw/virtio/virtio-balloon.c index 95fb3b06be..d669756a7f 100644 --- a/hw/virtio/virtio-balloon.c +++ b/hw/virtio/virtio-balloon.c @@ -348,7 +348,7 @@ static int virtio_balloon_device_init(VirtIODevice *vdev) virtio_balloon_stat, s); if (ret < 0) { - virtio_common_cleanup(VIRTIO_DEVICE(s)); + virtio_cleanup(VIRTIO_DEVICE(s)); return -1; } @@ -377,7 +377,7 @@ static int virtio_balloon_device_exit(DeviceState *qdev) balloon_stats_destroy_timer(s); qemu_remove_balloon_handler(s); unregister_savevm(qdev, "virtio-balloon", s); - virtio_common_cleanup(vdev); + virtio_cleanup(vdev); return 0; } |