Received: from [140.186.70.92] (port=38554 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHW3H-0003dT-LB for qemu-devel@nongnu.org; Thu, 27 May 2010 01:54:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OHVuc-00049e-87 for qemu-devel@nongnu.org; Thu, 27 May 2010 01:45:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:6487) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OHVuc-00049U-0o for qemu-devel@nongnu.org; Thu, 27 May 2010 01:45:46 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o4R5jjbS028231 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 27 May 2010 01:45:45 -0400 From: Markus Armbruster Subject: Re: [Qemu-devel] [PATCH] move net_handle_fd_param() into a common utility function References: <20100526213030.9332.60231.stgit@virtlab9.virt.bos.redhat.com> Date: Thu, 27 May 2010 07:45:43 +0200 In-Reply-To: <20100526213030.9332.60231.stgit@virtlab9.virt.bos.redhat.com> (Alex Williamson's message of "Wed, 26 May 2010 17:31:50 -0400") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex Williamson Cc: qemu-devel@nongnu.org Alex Williamson writes: > Move to monitor.c:monitor_handle_fd_param() as a common helper. > > Signed-off-by: Alex Williamson > --- > > I'd like to use this for the proposed device assignment configfd > parameter since there's nothing net specific about it. Looks good. Error checking after strtol() is as absent as before, but that's a separate issue, which shouldn't stop this patch.