From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:38716) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJSeh-0002Mn-G2 for qemu-devel@nongnu.org; Mon, 09 May 2011 11:45:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QJSeg-0002ww-PN for qemu-devel@nongnu.org; Mon, 09 May 2011 11:45:55 -0400 Received: from mtagate2.uk.ibm.com ([194.196.100.162]:34468) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJSeg-0002wm-HH for qemu-devel@nongnu.org; Mon, 09 May 2011 11:45:54 -0400 Received: from d06nrmr1707.portsmouth.uk.ibm.com (d06nrmr1707.portsmouth.uk.ibm.com [9.149.39.225]) by mtagate2.uk.ibm.com (8.13.1/8.13.1) with ESMTP id p49FjrNr028606 for ; Mon, 9 May 2011 15:45:53 GMT Received: from d06av08.portsmouth.uk.ibm.com (d06av08.portsmouth.uk.ibm.com [9.149.37.249]) by d06nrmr1707.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p49FjlQT2134100 for ; Mon, 9 May 2011 16:45:53 +0100 Received: from d06av08.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av08.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p49FjkZI011173 for ; Mon, 9 May 2011 16:45:46 +0100 From: Stefan Hajnoczi Date: Mon, 9 May 2011 16:45:38 +0100 Message-Id: <1304955940-18965-1-git-send-email-stefanha@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH v2 0/2] qed: Periodically flush and clear need check bit List-Id: 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 stubs out qemu-timer.c functions for qemu-tool.c, which is needed since block drivers get built into qemu-img and friends. In the long run having timers in qemu-tool too would be good, but for now they are not critical and the stub implementation works.