diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2013-11-29 12:26:02 -0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2014-01-13 12:39:49 +0100 |
commit | bb1a6d8c57217188f33d8e59d71fc62dbee9e4f8 (patch) | |
tree | 1b848055b7a0558f72a4a0a7de42736e2c576e0f /savevm.c | |
parent | 093c455a8c6d8f715eabd8c8d346f08f17d686ec (diff) | |
download | qemu-bb1a6d8c57217188f33d8e59d71fc62dbee9e4f8.tar.gz qemu-bb1a6d8c57217188f33d8e59d71fc62dbee9e4f8.tar.bz2 qemu-bb1a6d8c57217188f33d8e59d71fc62dbee9e4f8.zip |
savevm: Small comment about why timer QEMUFile/VMState code is in savevm.c
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'savevm.c')
-rw-r--r-- | savevm.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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) { |