[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 8/9 v2] savevm: Small comment about why timer QEMUFi
From: |
Eduardo Habkost |
Subject: |
[Qemu-devel] [PATCH 8/9 v2] savevm: Small comment about why timer QEMUFile/VMState code is in savevm.c |
Date: |
Fri, 29 Nov 2013 12:26:02 -0200 |
Signed-off-by: Eduardo Habkost <address@hidden>
---
Changes v1 -> v2:
* Fix typo: qemu-file.c -> qemu-timer.c
---
savevm.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/savevm.c b/savevm.c
index 8eeb5ef..a7dbe18 100644
--- 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)
{
--
1.8.3.1
- [Qemu-devel] [PATCH 0/9] vmstate code split + unit tests, Eduardo Habkost, 2013/11/28
- [Qemu-devel] [PATCH 1/9] qemu-file: Make a few functions non-static, Eduardo Habkost, 2013/11/28
- [Qemu-devel] [PATCH 2/9] migration: Move QEMU_VM_* defines to migration/migration.h, Eduardo Habkost, 2013/11/28
- [Qemu-devel] [PATCH 3/9] savevm: Convert all tabs to spaces, Eduardo Habkost, 2013/11/28
- [Qemu-devel] [PATCH 5/9] savevm.c: Coding style fix, Eduardo Habkost, 2013/11/28
- [Qemu-devel] [PATCH 4/9] savevm.c: Coding style fixes, Eduardo Habkost, 2013/11/28
- [Qemu-devel] [PATCH 6/9] vmstate: Move VMState code to vmstate.c, Eduardo Habkost, 2013/11/28
- [Qemu-devel] [PATCH 8/9] savevm: Small comment about why timer QEMUFile/VMState code is in savevm.c, Eduardo Habkost, 2013/11/28
- [Qemu-devel] [PATCH 9/9] tests: Some unit tests for vmstate.c, Eduardo Habkost, 2013/11/28
- [Qemu-devel] [PATCH 7/9] qemu-file: Move QEMUFile code to qemu-file.c, Eduardo Habkost, 2013/11/28