From 54e24021005458ad0a361c1d83011b751726a94b Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 8 Dec 2011 16:38:06 +0000 Subject: [PATCH] qemu_get_timer: Provide a comment about the behaviour on ts==NULL Signed-off-by: Ian Jackson --- vl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vl.c b/vl.c index 9e0a5564a..be8587a9e 100644 --- a/vl.c +++ b/vl.c @@ -1274,6 +1274,8 @@ void qemu_put_timer(QEMUFile *f, QEMUTimer *ts) void qemu_get_timer(QEMUFile *f, QEMUTimer *ts) { + /* If ts==NULL, reads the relevant amount of data from the + savefile but discards it */ uint64_t expire_time; expire_time = qemu_get_be64(f); -- 2.39.5