static int virtio_balloon_device_exit(DeviceState *qdev)

{

    VirtIOBalloon *s = VIRTIO_BALLOON(qdev);

    VirtIODevice *vdev = VIRTIO_DEVICE(qdev);



    balloon_stats_destroy_timer(s);

    qemu_remove_balloon_handler(s);

    unregister_savevm(qdev, "virtio-balloon", s);

    virtio_cleanup(vdev);

    return 0;

}

static int virtio_balloon_device_exit(DeviceState *qdev)

{

    VirtIOBalloon *s = VIRTIO_BALLOON(qdev);

    VirtIODevice *vdev = VIRTIO_DEVICE(qdev);



    balloon_stats_destroy_timer(s);

    qemu_remove_balloon_handler(s);

    unregister_savevm(qdev, "virtio-balloon", s);

    virtio_cleanup(vdev);

    return 0;

}

static int virtio_balloon_device_exit(DeviceState *qdev)     VirtIOBalloon *s = VIRTIO_BALLOON(qdev);     VirtIODevice *vdev = VIRTIO_DEVICE(qdev);     unregister_savevm(qdev, "virtio-balloon", s);     return 0;
static int FUNC_0(DeviceState *VAR_0)

{

    VirtIOBalloon *s = VIRTIO_BALLOON(VAR_0);

    VirtIODevice *vdev = VIRTIO_DEVICE(VAR_0);



    balloon_stats_destroy_timer(s);

    qemu_remove_balloon_handler(s);

    unregister_savevm(VAR_0, "virtio-balloon", s);

    virtio_cleanup(vdev);

    return 0;

}

static int FUNC_0(DeviceState *VAR_0)
{ VirtIOBalloon *s = VIRTIO_BALLOON(VAR_0); VirtIODevice *vdev = VIRTIO_DEVICE(VAR_0); balloon_stats_destroy_timer(s); qemu_remove_balloon_handler(s); unregister_savevm(VAR_0, "virtio-balloon", s); virtio_cleanup(vdev); return 0; }