mirror of https://github.com/xemu-project/xemu.git
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>
This commit is contained in:
parent
093c455a8c
commit
bb1a6d8c57
8
savevm.c
8
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)
|
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)
|
static int get_timer(QEMUFile *f, void *pv, size_t size)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue