From owner-freebsd-virtualization@freebsd.org Sun Oct 2 19:02:48 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 98871AF15BF for ; Sun, 2 Oct 2016 19:02:48 +0000 (UTC) (envelope-from taozhenext@gmail.com) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2C43974; Sun, 2 Oct 2016 19:02:48 +0000 (UTC) (envelope-from taozhenext@gmail.com) Received: by mail-wm0-x233.google.com with SMTP id p138so114283670wmb.1; Sun, 02 Oct 2016 12:02:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=xd1mgOGHlowqejrBLWAiguVEX78H8CuQDQrnuyMBYXU=; b=zxXdbgYwrF2f8539E8gAf704m+bamiSPvoybVKVc0pfRHZ80ODTy068tlGB3YCmrk5 CnVIgl7ZJNyft/ml9zcAvZbpL2B+5uWPFoODAN54YstIMmkRQforxEiabuHTiHveu5iE ODMgRQtiTRDujwLXZKwAOHMAeUvw0n9vu7i5W0SOijCvAA4+Sg256MkW1xCTd/KR6EAY WVNEYGu4isOTZe7ep+Qt/emJOxasNEGp93jhIUTN+jPWdf4kC6mkSPQw/UvRaB49aRNP 592gzLZ03qQ2BPXAXBFM0B18I2cYrPxMcztC3G5mN+cEdoUCSHxT3r1neEsnTHyXWeEt W9KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=xd1mgOGHlowqejrBLWAiguVEX78H8CuQDQrnuyMBYXU=; b=DPHRYS4lIYC1fy+LL3aVWqXfet2//5I31dBSkCR7sgt2Yl3oaa4WWyIWbW1gbMCtOd h8eR+qG7e+YFMTdWcI6reiCVV0fAGDF1zxESMiFu/qF+DQGhjBfM4cEDlBDRhm4R/R4r 8WGWxwT5ek7Ry9AxoRKLZ6lNWzAWheRUyQl1zOzkh1u2ZM3iTvWlCyHdbWNSRFCtB8Kh aCx/9+kcCHDBn8fgAGyZWiKWmzN0RzSmXOKhtEP5i9mDfTbnq0r8UdYciOo20+mq6kwp wKxeT4M5IVUuyW4eQAh4uzJuZaFluNzV8L/KpjmN9F1J/bA6MSiPlgwc0cmTqW42agqM 471A== X-Gm-Message-State: AA6/9RnTw3L/p2/zebbSR98y7OjK6lrF3mzCljSKoUflrctYAz7zVKzalmYyXOVKiRn3YVZ97eghrTr9n2HGnA== X-Received: by 10.28.95.134 with SMTP id t128mr5923887wmb.99.1475434965471; Sun, 02 Oct 2016 12:02:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.178.133 with HTTP; Sun, 2 Oct 2016 12:02:45 -0700 (PDT) In-Reply-To: References: From: Tao Zhen Date: Sun, 2 Oct 2016 15:02:45 -0400 Message-ID: Subject: Re: couple of issues with bhyve windows 10 pro guest on FreeBSD 11.0 To: Peter Grehan Cc: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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: Sun, 02 Oct 2016 19:02:48 -0000 Peter, 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) > Yes, I am using an en/US keyboard. The left shift key works and the right one doesn't. > > 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. > > After I unload vmm.ko, the hw.vmm.* are no longer visible. How do I set them? Thanks, Tao