Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O3gre-0007oX-46 for qemu-devel@nongnu.org; Sun, 18 Apr 2010 22:37:34 -0400 Received: from [140.186.70.92] (port=51413 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O3grc-0007nc-7P for qemu-devel@nongnu.org; Sun, 18 Apr 2010 22:37:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O3grZ-000061-S1 for qemu-devel@nongnu.org; Sun, 18 Apr 2010 22:37:32 -0400 Received: from e1.ny.us.ibm.com ([32.97.182.141]:34543) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3grZ-00005V-PN for qemu-devel@nongnu.org; Sun, 18 Apr 2010 22:37:29 -0400 Received: from d01relay06.pok.ibm.com (d01relay06.pok.ibm.com [9.56.227.116]) by e1.ny.us.ibm.com (8.14.3/8.13.1) with ESMTP id o3J2WR2W026295 for ; Sun, 18 Apr 2010 22:32:27 -0400 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by d01relay06.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o3J2bNrl782478 for ; Sun, 18 Apr 2010 22:37:25 -0400 Received: from d01av01.pok.ibm.com (loopback [127.0.0.1]) by d01av01.pok.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id o3J2bMn0012906 for ; Sun, 18 Apr 2010 22:37:23 -0400 Date: Sun, 18 Apr 2010 21:37:18 -0500 From: Ryan Harper Subject: Re: [Qemu-devel] [PATCH][STABLE] Add qerror message if the 'change' target filename can't be opened Message-ID: <20100419023718.GR24351@us.ibm.com> References: <20100409124638.GY24351@us.ibm.com> <20100418204711.GA22688@hall.aurel32.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100418204711.GA22688@hall.aurel32.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aurelien Jarno Cc: Ryan Harper , qemu-devel@nongnu.org * Aurelien Jarno [2010-04-18 15:55]: > On Fri, Apr 09, 2010 at 07:46:38AM -0500, Ryan Harper wrote: > > Currently when using the change command to switch the file in the cd drive > > the command doesn't complain if the file doesn't exit or can't be opened > > and the drive keeps the existing image. This patch adds a qerror_report > > call to print a message out indicating the failure. This error message > > can be used to catch failures. > > Applied to HEAD, however it doesn't apply to stable. Is it really needed > here? No, you're right. Qemu doesnt' segfault or anything bad. That and the qerror class for open file failed isn't in stable so we'd have to pull that new code in (it's small, like 7 lines. Anyhow, I have the patches, but I agree that they aren't necessary for stable. -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx ryanh@us.ibm.com