From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uw5q0-00082w-A1 for qemu-devel@nongnu.org; Mon, 08 Jul 2013 03:26:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uw5px-0005Q3-QV for qemu-devel@nongnu.org; Mon, 08 Jul 2013 03:26:20 -0400 Received: from mail-pb0-x22e.google.com ([2607:f8b0:400e:c01::22e]:60292) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uw5px-0005Ph-Kn for qemu-devel@nongnu.org; Mon, 08 Jul 2013 03:26:17 -0400 Received: by mail-pb0-f46.google.com with SMTP id rq2so3987489pbb.5 for ; Mon, 08 Jul 2013 00:26:16 -0700 (PDT) From: Xu Wang Date: Mon, 8 Jul 2013 03:26:01 -0400 Message-Id: <1373268366-14508-1-git-send-email-cngesaint@gmail.com> Subject: [Qemu-devel] [PATCH V2 0/5] Add infinite loop check for backing file chain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, stefanha@gmail.com, Xu Wang , xiawenc@linux.vnet.ibm.com Updates: 1. Changed infinite loop check in collect_image_info_list() from filename checking to inode checking. 2. Absolute or relative path is OK for filename path. 3. Hard and soft link are works well. 4. Added WIN32 platform support (shortcuts could be recognized correctly.) 5. Create a file which contains loop in backing file will failed. 6. Start a vm which boot block file contains loop in backing file chain will failed instead of no response and segment fault. Xu Wang (5): Refine and export infinite loop checking in collect_image_info_list() Add WIN32 platform support for backing_file_loop_check() Check infinite loop in bdrv_img_create() Add backing file loop check in change_backing_file() Add infinite loop check in drive_init() block.c | 211 ++++++++++++++++++++++++++++++++++++++++++++++++-- blockdev.c | 5 ++ include/block/block.h | 4 + qemu-img.c | 30 +++---- 4 files changed, 224 insertions(+), 26 deletions(-) -- 1.8.1.4