Received: from eggs.gnu.org ([2001:4830:134:3::10]:56282) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UujAI-00018F-Ie for qemu-devel@nongnu.org; Thu, 04 Jul 2013 09:01:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UujAD-0006KB-31 for qemu-devel@nongnu.org; Thu, 04 Jul 2013 09:01:38 -0400 Received: from mail-ee0-x22f.google.com ([2a00:1450:4013:c00::22f]:34339) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UujAC-0006Jn-TZ for qemu-devel@nongnu.org; Thu, 04 Jul 2013 09:01:33 -0400 Received: by mail-ee0-f47.google.com with SMTP id e49so752802eek.6 for ; Thu, 04 Jul 2013 06:01:32 -0700 (PDT) Date: Thu, 4 Jul 2013 15:01:29 +0200 From: Stefan Hajnoczi Message-ID: <20130704130129.GG4213@stefanha-thinkpad.redhat.com> References: <1372318700-25103-1-git-send-email-cngesaint@gmail.com> <51CEF002.7050908@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <51CEF002.7050908@suse.de> Subject: Re: [Qemu-devel] [PATCH 0/2] Add infinite loop checking in img_create() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andreas =?iso-8859-1?Q?F=E4rber?= Cc: Kevin Wolf , Xu Wang , Xu Wang , qemu-devel@nongnu.org, Stefan Hajnoczi On Sat, Jun 29, 2013 at 04:32:34PM +0200, Andreas Färber wrote: > Am 27.06.2013 09:38, schrieb Xu Wang: > > From: Xu Wang > > > > If user creates a image with loop in backing file, qemu doesn't give any > > warning or error report and creation successful. If this image was opend > > by qemu, no response would occure and segment fault would happend at last. > > Hence these patches refine and export infinite loop checking in > > collect_image_info_list() and add checking into img_create(). If a loop > > would occure, an error info output and creation interrupted. > > > > Xu Wang (2): > > Refine and export infinite loop checking in collect_image_info_list() > > Check infinite loop in img_create() > > In the future please use a prefix such as "qemu-img: ..." on both cover > letter and patches to indicate which part of code it concerns, and CC > the respective maintainers of that area to assure appropriate review. To find out who to Cc on patch emails, use: $ scripts/get_maintainer.pl -f qemu-img.c Stefan