From owner-freebsd-virtualization@freebsd.org Sat Oct 1 20:55:45 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1C32EA94A5E for ; Sat, 1 Oct 2016 20:55:45 +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 CF7F7DB9 for ; Sat, 1 Oct 2016 20:55:44 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id 5D1B320C1C0D for ; Sun, 2 Oct 2016 06:55:24 +1000 (AEST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 583F6280A3D for ; Sun, 2 Oct 2016 06:55:24 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id d6N-y1sVKpzw for ; Sun, 2 Oct 2016 06:55:24 +1000 (AEST) Received: from Peters-MacBook-Pro-2.local (c-50-184-135-69.hsd1.ca.comcast.net [50.184.135.69]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 9BE902808F5; Sun, 2 Oct 2016 06:55:22 +1000 (AEST) Subject: Re: couple of issues with bhyve windows 10 pro guest on FreeBSD 11.0 To: Tao Zhen References: From: Peter Grehan Cc: freebsd-virtualization@freebsd.org Message-ID: Date: Sat, 1 Oct 2016 13:55:32 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.2 cv=VuVhOK+n c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=ZMguiOAsC5immlfEDy0HCA==:17 a=N659UExz7-8A:10 a=CH0kA5CcgfcA:10 a=6I5d2MoRAAAA:8 a=yMhMjlubAAAA:8 a=OWDnDj2hzUtJgi4_WKcA:9 a=pILNOxqGKmIA:10 a=IjZwj45LgO3ly-622nXo:22 a=BKKCjISod1eDJeS0ORpz:22 wl=host:3 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 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: Sat, 01 Oct 2016 20:55:45 -0000 Hi Tao, > I have installed windows 10 pro as a bhyve guest on FreeBSD 11.0-RELEASE > r306257M, with an i7-5930k on an ASUS X99 deluxe. > I followed the following instructions, > https://forums.freebsd.org/threads/56912/ > All is well except that > 1. can't input capital letters. Right shift key ? I believe the left should work Ok. What language keyboard are you using ? Depending on what your VNC client allows, a short-term workaround is to map the right shift key to the left shift. (this was fixed in 11-stable with r305714 but didn't make it into 11.0R) > 2. windows 10 guest only sees at most 2 virtual processors no matter what > is specified with -c in the bhyve command line (I tried installation with > -c 2 and -c 8). By default, bhyve presents vCPUs as individual CPU sockets (i.e. 1 CPU/socket). Win10 appears to only supports 2 CPU sockets max (and 1 on home versions), but a larger number of logical CPUs. The terminology in this post is a bit confusing but I believe they are referring to 'physical CPUs' as sockets: http://answers.microsoft.com/en-us/windows/forum/windows_10/windows-10-versions-cpu-limits/905c24ad-ad54-4122-b730-b9e7519c823f?auth=1 bhyve can be configured to expose vCPUs as logical processors within a socket using tunables that should be set before vmm.ko is loaded (or after unload/before reload). hw.vmm.topology.cores_per_package (defaults to 1) hw.vmm.topology.threads_per_core ( " " ) Note that these settings are global and will be used by all VMs. later, Peter.