From owner-freebsd-virtualization@FreeBSD.ORG Sun Mar 17 20:56:17 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 C9FD4DAF for ; Sun, 17 Mar 2013 20:56:17 +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 6FE85219 for ; Sun, 17 Mar 2013 20:56:17 +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 47C8111D78; Mon, 18 Mar 2013 06:56:10 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro.local (c-71-56-248-150.hsd1.co.comcast.net [71.56.248.150]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BKS67244 (AUTH peterg@ptree32.com.au); Mon, 18 Mar 2013 06:56:08 +1000 Message-ID: <51462DE5.70805@freebsd.org> Date: Sun, 17 Mar 2013 13:56:05 -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: Alfred Perlstein Subject: Re: bhyve in -current 4/14/13 can no longer support FreeBSD stable install References: <514350E9.4020100@mu.org> <51439239.1030404@freebsd.org> <514396E9.9010908@mu.org> In-Reply-To: <514396E9.9010908@mu.org> 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: Sun, 17 Mar 2013 20:56:17 -0000 Hi Alfred, >> If you do this repeatedly, it may be possible to see some patterns >> e.g. counters incrementing, %RIP values being the same etc. >> > Hmm, I keep seem to be getting this: > /usr/home/alfred # bhyvectl --get-all --cpu=0 --vm=freebsd-stable > lowmem 0x0000000000000000/536870912 > highmem 0x0000000100000000/0 > errno = 16 > /usr/home/alfred # bhyvectl --get-all --cpu=1 --vm=freebsd-stable > lowmem 0x0000000000000000/536870912 > highmem 0x0000000100000000/0 > errno = 16 Yeh, this is a problem :( Currently, the stats gathering does a trylock on the VM to avoid having the VM be perturbed by the bhyvectl process. We probably need to put something in there so it can eventually get the lock, and hence the stats, when the VM is busy rather than forcing the user to retry. The work around is to send a SIGSTOP to the bhyve process and then run the bhyvectl. A SIGSTART will then set the VM going again. later, Peter.