From owner-freebsd-virtualization@FreeBSD.ORG Fri Mar 1 01:23:26 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 10887247 for ; Fri, 1 Mar 2013 01:23:26 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id BDF78DC3 for ; Fri, 1 Mar 2013 01:23:25 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id 1310511BE7; Fri, 1 Mar 2013 11:15:58 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro.local (c-67-190-11-104.hsd1.co.comcast.net [67.190.11.104]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BKH22119 (AUTH peterg@ptree32.com.au); Fri, 1 Mar 2013 11:15:56 +1000 Message-ID: <5130014A.3030607@freebsd.org> Date: Thu, 28 Feb 2013 18:15:54 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20 MIME-Version: 1.0 To: Chris Torek Subject: Re: trivial improvement for usr.sbin/bhyve/pci_virtio_block.c References: <201303010028.r210Sdd8039430@elf.torek.net> In-Reply-To: <201303010028.r210Sdd8039430@elf.torek.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2013 01:23:26 -0000 Hi Chris, > I was looking through the bhyve code and noticed an obvious > easy (if trivial) code improvement. > > Tested "standalone" rather than inside bhyve (with both gcc and > clang, on FreeBSD 9.0). Thanks; I'll apply it. > Not sure where/how diffs should go, so I figured I would send this > here as a test. :-) This is as good a place as any :) later, Peter.