From owner-freebsd-virtualization@freebsd.org Wed Aug 10 15:02:25 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 B4359BB5B59 for ; Wed, 10 Aug 2016 15:02:25 +0000 (UTC) (envelope-from gabor@zahemszky.hu) Received: from smtp-2-out.integrity.hu (smtp-2-out.integrity.hu [212.52.165.212]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "intmail-smtp.integrity.hu", Issuer "StartCom Class 3 OV Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 76A6318F2 for ; Wed, 10 Aug 2016 15:02:25 +0000 (UTC) (envelope-from gabor@zahemszky.hu) Received: from webmail.integrity.hu (mail-fe-1.integrity.hu [10.1.64.120]) by mail-smtp.integrity.hu (Postfix) with ESMTPA id DF6C04018E for ; Wed, 10 Aug 2016 15:46:34 +0200 (CEST) Received: from jj4dhHXqtszCbJgHdHiI2GcCEULSa0qHfwIvyxy4V42o0Gc04VXRbg== (FFb0REQSwAASjzy/W4KRVKO5JnZfUzrB) by webmail.integrity.hu with HTTP (HTTP/1.1 POST); Wed, 10 Aug 2016 15:46:34 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Wed, 10 Aug 2016 15:46:34 +0200 From: gabor@zahemszky.hu To: freebsd-virtualization@freebsd.org Subject: bhyve in KVM Message-ID: <52c4dc22732575fd86f907a77705355d@zahemszky.hu> X-Sender: gabor@zahemszky.hu User-Agent: Roundcube Webmail/1.1.4 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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: Wed, 10 Aug 2016 15:02:25 -0000 Hi! I tried the 11-beta4 in a KVM (qemu) virtual machine. In Linux, the nested KVM functionality is enabled. I started the VM with: qemu-system-x86_64 -enable-kvm -cpu host,+vmx -m 512 FBSD.qcow2 And here is processor info in the FreeBSD VM: CPU: Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz (2294.49-MHz K8-class CPU) Origin="GenuineIntel" Id=0x306d4 Family=0x6 Model=0x3d Stepping=4 Features=0xf83fbff Features2=0xfffa3223 AMD Features=0x2c100800 AMD Features2=0x121 Structured Extended Features=0x1c0f3a XSAVE Features=0x1 VT-x: (disabled in BIOS) PAT,HLT,PAUSE,EPT,UG Hypervisor: Origin = "KVMKVMKVM" First of all, what is this Disabled in BIOS? Second, what needs to use bhyve, az kldloading vmm I got: vmx_init: processor does not support desired basic capabilities module_register_init: MOD_LOAD (vmm, 0xffffffff8221c4e0, 0) error 22 What's missing? Thanks, Gábor Zahemszky