Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KL3Qf-0006ye-46 for qemu-devel@nongnu.org; Mon, 21 Jul 2008 18:00:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KL3Qd-0006yK-KB for qemu-devel@nongnu.org; Mon, 21 Jul 2008 18:00:24 -0400 Received: from [199.232.76.173] (port=50089 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KL3Qd-0006yH-F0 for qemu-devel@nongnu.org; Mon, 21 Jul 2008 18:00:23 -0400 Received: from mx2.suse.de ([195.135.220.15]:47917) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KL3Qc-0002Q3-Nc for qemu-devel@nongnu.org; Mon, 21 Jul 2008 18:00:22 -0400 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 41D7E45AD7 for ; Tue, 22 Jul 2008 00:00:19 +0200 (CEST) From: Andreas Schwab Subject: Re: [Qemu-devel] qcow2 - safe on kill? safe on power fail? References: <47CF0E0C.9030807@quinthar.com> <47CF16C5.6040102@codemonkey.ws> <20080721181031.GA31773@shareable.org> <4884E6F1.5020205@codemonkey.ws> Date: Tue, 22 Jul 2008 00:00:19 +0200 In-Reply-To: <4884E6F1.5020205@codemonkey.ws> (Anthony Liguori's message of "Mon, 21 Jul 2008 14:43:45 -0500") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Anthony Liguori writes: > The only ways that you can cause corruption is if the QCOW2 sector > allocation code is faulty (and you would be screwed no matter what here= ) > or if you issue a SIGTERM/SIGKILL that interrupts the code while it's > allocating a new sector. Blocking SIGTERM until the allocation is finished could close that hole. Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany PGP key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED= 5 "And now for something completely different."