From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=33519 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pq5L8-0000Z1-Fn for qemu-devel@nongnu.org; Thu, 17 Feb 2011 10:00:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pq5L4-0006yH-Me for qemu-devel@nongnu.org; Thu, 17 Feb 2011 10:00:18 -0500 Received: from mtagate1.uk.ibm.com ([194.196.100.161]:39662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pq5L4-0006xz-Ex for qemu-devel@nongnu.org; Thu, 17 Feb 2011 10:00:14 -0500 Received: from d06nrmr1806.portsmouth.uk.ibm.com (d06nrmr1806.portsmouth.uk.ibm.com [9.149.39.193]) by mtagate1.uk.ibm.com (8.13.1/8.13.1) with ESMTP id p1HF0Cmv014609 for ; Thu, 17 Feb 2011 15:00:12 GMT Received: from d06av11.portsmouth.uk.ibm.com (d06av11.portsmouth.uk.ibm.com [9.149.37.252]) by d06nrmr1806.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p1HF0Ij51560752 for ; Thu, 17 Feb 2011 15:00:19 GMT Received: from d06av11.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av11.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p1HF0B5P011812 for ; Thu, 17 Feb 2011 08:00:11 -0700 From: Stefan Hajnoczi Date: Thu, 17 Feb 2011 14:59:46 +0000 Message-Id: <1297954788-22670-1-git-send-email-stefanha@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 0/2] qed: Periodically flush and clear need check bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf This patch marks QED images as clean periodically when it is safe to do so. This reduces the chance of having to perform a consistency check at startup. Previously we left the image dirty even when it was consistent, therefore risking an unnecessary consistency check after crash. The first patch just stubs out qemu-timer.c functions for qemu-tool.c, which is needed since block drivers get built into qemu-img and friends. I don't know the timers code well so please suggest alternatives if simple stubbing is wrong.