From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:39353) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDVim-0003ai-A2 for qemu-devel@nongnu.org; Fri, 30 Mar 2012 02:54:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SDVih-0007iQ-ON for qemu-devel@nongnu.org; Fri, 30 Mar 2012 02:54:03 -0400 Received: from e28smtp07.in.ibm.com ([122.248.162.7]:59045) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDViM-0007Wo-Bz for qemu-devel@nongnu.org; Fri, 30 Mar 2012 02:53:59 -0400 Received: from /spool/local by e28smtp07.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 30 Mar 2012 12:23:04 +0530 Received: from d28av03.in.ibm.com (d28av03.in.ibm.com [9.184.220.65]) by d28relay05.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q2U6qqgS3588238 for ; Fri, 30 Mar 2012 12:23:02 +0530 Received: from d28av03.in.ibm.com (loopback [127.0.0.1]) by d28av03.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q2UCM7hd021553 for ; Fri, 30 Mar 2012 23:22:07 +1100 Received: from localhost ([9.123.236.97]) by d28av03.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id q2UCM5sT021528 for ; Fri, 30 Mar 2012 23:22:06 +1100 Date: Fri, 30 Mar 2012 14:52:50 +0800 From: Wanpeng Li Message-ID: <20120330065250.GA12029@liwp@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] RFC: options parsing in vl.c should be module Reply-To: Wanpeng Li List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel Hi all: Consider of the options parsing process in main function of vl.c is too long. It should be module into single function to clear Ideas, strengthen the source code management, and increase code readability. Regards, Wanpeng Li -- LTC China, IBM, Shanghai