From owner-freebsd-virtualization@freebsd.org Sun Apr 26 09:56:42 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 51C4D2A9FD8 for ; Sun, 26 Apr 2020 09:56:42 +0000 (UTC) (envelope-from info@os-plus.org) Received: from mailserv.regfish.com (mailserv.regfish.com [52.57.101.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailserv.regfish.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4993GK3Kxcz4DZx for ; Sun, 26 Apr 2020 09:56:41 +0000 (UTC) (envelope-from info@os-plus.org) Received: by mailserv.regfish.com (Postfix, from userid 706) id 5104B612A3; Sun, 26 Apr 2020 09:56:40 +0000 (UTC) X-Original-To: freebsd-virtualization@freebsd.org Received: from mbp2016.i.os-plus.de (p2E5E8F7A.dip0.t-ipconnect.de [46.94.143.122]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: 40815-0001) by mailserv.regfish.com (Postfix) with ESMTPSA id 3C7F5612A3; Sun, 26 Apr 2020 09:56:40 +0000 (UTC) Subject: Re: bhyve with AMD Ryzen 3900X and MSI MEG ACE X570 To: Aryeh Friedman References: <2535c7f2-ef59-467e-779b-6c9c6db82005@os-plus.org> From: Christian Jeannot Cc: freebsd-virtualization@freebsd.org Message-ID: Date: Sun, 26 Apr 2020 11:56:39 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4993GK3Kxcz4DZx X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of info@os-plus.org has no SPF policy when checking 52.57.101.90) smtp.mailfrom=info@os-plus.org X-Spamd-Result: default: False [-1.06 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.96)[-0.961,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; IP_SCORE(-0.06)[ipnet: 52.57.0.0/16(0.72), asn: 16509(-0.97), country: US(-0.05)]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[os-plus.org]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-0.94)[-0.943,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[90.101.57.52.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16509, ipnet:52.57.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[122.143.94.46.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 26 Apr 2020 09:56:42 -0000 Am 26.04.20 um 11:32 schrieb Aryeh Friedman: > > > On Sun, Apr 26, 2020 at 4:57 AM Christian Jeannot > wrote: > > Hi Community, > > I am testing bhyve from FreeBSD 12.1 RELEASE. > > My environment: > - CPU: AMD Ryze 3900X > - Mainboard: MSI MEG ACE X570, Default settings, latest BIOS 7C35v18 > - RAM: G.Skill RipJaws V DIMM Kit 64GB, DDR4-3200, CL16-18-18-38 > - GPU: Sapphire Nitro RX 5700XT > > I checked the settings in the BIOS. Virtualization options are enabled. > SVM is enabled. > > I follow the instruction from the FreeBSD handbook „21.7. FreeBSD as a > Host with bhyve“. > > When I run >      kldload vmm > I got an output that SVM is disabled by BIOS. When I check the BIOS it > is enabled. > > > What happens if you load it from /boot/load.conf When I add vmm_load="YES" in /boot/loader.conf I can see the following with dmesg after a reboot SVM: disabled by BIOS. module_register_init: MOD_LOAD (vmm, 0xffffffff8264dd20, 0) error 6 > > Also you shouldn't have to turn on kvm (I do have it turned on but it > should not be required). > > Bhyve has a upper limit of 16 vm's that it can run at once but I don't > think this is based on core count of the processor. > > > When I try to start the VM with the example script I got the output >      vm_create device not configured > > Did I miss something to configure? > > Does anyone has a Ryzen CPU and a actual MSI mainboard successfully run > bhyve? > > > I have two Ryzen 5 2600X/MSI machines as far I can tell looking at the > specs (and what I remember when I was deciding to get a 3900X or 2600X) > there is no practical difference, except for core count, from the point > of view of virtualization/bhyve.  One machine is a MSI B450 Tomahawk and > the other is MSI B450 Gaming Pro.   Both machines run bhyve with out any > problem (one of them is my main home office server with 3 vm's on it > [windows and 2 FreeBSD]) and the other is my primary desktop machine and > used for R&D on PetiteCloud (which is a web interface to bhyve and qemu). Thank you. Good to know that bhye is working with AMD CPUs, Mainboards and chipsets. --Christian -- -- christian jeannot vogelmauer 17 86152 augsburg +49 821 81552861 info@os-plus.org