Received: from eggs.gnu.org ([2001:4830:134:3::10]:52057) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vm2A6-0001b1-0M for qemu-devel@nongnu.org; Thu, 28 Nov 2013 09:01:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vm29z-0005ja-Tb for qemu-devel@nongnu.org; Thu, 28 Nov 2013 09:01:45 -0500 Received: from mx1.redhat.com ([209.132.183.28]:18179) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vm29z-0005jS-Kz for qemu-devel@nongnu.org; Thu, 28 Nov 2013 09:01:39 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rASE1crR027985 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 28 Nov 2013 09:01:39 -0500 From: Eduardo Habkost Date: Thu, 28 Nov 2013 12:01:17 -0200 Message-Id: <1385647278-30043-9-git-send-email-ehabkost@redhat.com> In-Reply-To: <1385647278-30043-1-git-send-email-ehabkost@redhat.com> References: <1385647278-30043-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH 8/9] savevm: Small comment about why timer QEMUFile/VMState code is in savevm.c List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, Juan Quintela Signed-off-by: Eduardo Habkost --- savevm.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/savevm.c b/savevm.c index 8eeb5ef..a2c2173 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-file.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-file.c as dependency to vmstate.c + */ static int get_timer(QEMUFile *f, void *pv, size_t size) { -- 1.8.3.1