]> git.proxmox.com Git - mirror_qemu.git/commitdiff
savevm: Small comment about why timer QEMUFile/VMState code is in savevm.c
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 29 Nov 2013 14:26:02 +0000 (12:26 -0200)
committerJuan Quintela <quintela@redhat.com>
Mon, 13 Jan 2014 11:39:49 +0000 (12:39 +0100)
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
savevm.c

index 8eeb5ef56ebcc2b3ce551aed0f1b185e1ca6c3df..a7dbe18a670041ebb5f2e84c17d4fbc1dc51bf92 100644 (file)
--- a/savevm.c
+++ b/savevm.c
@@ -166,7 +166,9 @@ static QEMUFile *qemu_fopen_bdrv(BlockDriverState *bs, int is_writable)
 }
 
 
-/* timer */
+/* QEMUFile timer support.
+ * Not in qemu-file.c to not add qemu-timer.c as dependency to qemu-file.c
+ */
 
 void timer_put(QEMUFile *f, QEMUTimer *ts)
 {
@@ -189,7 +191,9 @@ void timer_get(QEMUFile *f, QEMUTimer *ts)
 }
 
 
-/* timers  */
+/* VMState timer support.
+ * Not in vmstate.c to not add qemu-timer.c as dependency to vmstate.c
+ */
 
 static int get_timer(QEMUFile *f, void *pv, size_t size)
 {