From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fafb1-0001Tb-QK for qemu-devel@nongnu.org; Mon, 01 May 2006 17:06:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fafaz-0001S4-Q2 for qemu-devel@nongnu.org; Mon, 01 May 2006 17:06:18 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fafaz-0001Rx-Mi for qemu-devel@nongnu.org; Mon, 01 May 2006 17:06:17 -0400 Received: from [209.234.73.39] (helo=narn.hozed.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Fafaz-0003hk-W2 for qemu-devel@nongnu.org; Mon, 01 May 2006 17:06:18 -0400 Date: Mon, 1 May 2006 16:06:14 -0500 From: Troy Benjegerdes Message-ID: <20060501210610.GA15855@narn.hozed.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [Qemu-devel] Feature request: -hda image file locks, and warnings for readonly 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 I managed to make the mistake of starting up two instances of qemu using the same '-hda' win2k guest. Needless to say this rendered the image unbootable. What I'd like is for qemu to do some sort of optional (but default behavior) file lock on the disk image, and spit out a warning and refuse to start if another qemu process already locked the image. This would be something you should be able to override if you really know what you are doing. I also managed to cause myself confusion by having an earlier image file set mode '444' and the windows error messages didn't make much sense, and I never got any sort of error indication out of qemu that the writes had been failing. -- -------------------------------------------------------------------------- Troy Benjegerdes 'da hozer' hozer@hozed.org Somone asked me why I work on this free (http://www.fsf.org/philosophy/) software stuff and not get a real job. Charles Shultz had the best answer: "Why do musicians compose symphonies and poets write poems? They do it because life wouldn't have any meaning for them if they didn't. That's why I draw cartoons. It's my life." -- Charles Shultz