virtio-balloon: cleanup: remove qdev field.
The qdev field is no longer needed, just drop it. Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com> Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Tested-by: Cornelia Huck <cornelia.huck@de.ibm.com> Message-id: 1364377755-15508-7-git-send-email-fred.konrad@greensocs.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
c96caced3f
commit
2900af5969
@ -360,7 +360,6 @@ static int virtio_balloon_device_init(VirtIODevice *vdev)
|
||||
s->dvq = virtio_add_queue(vdev, 128, virtio_balloon_handle_output);
|
||||
s->svq = virtio_add_queue(vdev, 128, virtio_balloon_receive_stats);
|
||||
|
||||
s->qdev = qdev;
|
||||
register_savevm(qdev, "virtio-balloon", -1, 1,
|
||||
virtio_balloon_save, virtio_balloon_load, s);
|
||||
|
||||
|
@ -67,7 +67,6 @@ typedef struct VirtIOBalloon {
|
||||
QEMUTimer *stats_timer;
|
||||
int64_t stats_last_update;
|
||||
int64_t stats_poll_interval;
|
||||
DeviceState *qdev;
|
||||
} VirtIOBalloon;
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user