From owner-freebsd-virtualization@freebsd.org Fri Oct 23 05:10:01 2015 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 5149EA19FF4 for ; Fri, 23 Oct 2015 05:10:01 +0000 (UTC) (envelope-from corys@ixsystems.com) Received: from barracuda.ixsystems.com (mail.ixsystems.com [69.198.165.135]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.ixsystems.com", Issuer "Go Daddy Secure Certificate Authority - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 310C71876 for ; Fri, 23 Oct 2015 05:10:00 +0000 (UTC) (envelope-from corys@ixsystems.com) X-ASG-Debug-ID: 1445576999-08ca040e85b15e0001-XWyayz Received: from mail.iXsystems.com ([10.2.55.1]) by barracuda.ixsystems.com with ESMTP id mqwCAMnuqzyrED6S (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 22 Oct 2015 22:09:59 -0700 (PDT) X-Barracuda-Envelope-From: corys@ixsystems.com X-Barracuda-RBL-Trusted-Forwarder: 10.2.55.1 X-ASG-Whitelist: Client Received: from roundcube.ixsystems.com (unknown [10.2.55.10]) by mail.iXsystems.com (Postfix) with ESMTPA id C835F85C72 for ; Thu, 22 Oct 2015 22:09:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ixsystems.com; s=newknight0; t=1445576998; bh=XRp+Fzq7ZD8cPCHOoEV/egt9UcnYaFJekQL5G4IOaZg=; h=Date:From:To:Subject:In-Reply-To:References; b=TITW2ZXvJTpoYLsgIejcWkm3cpuc98W/5mi9nd0STZGgjdy8wrFarQ+/oA+UmzmBZ cSxMvBlPTeM9y2/ObiQ39ZBuvP2Kedcovc+6HSMV91xSgTVmOdwn9+j3byrrhLW1Ri 1sjdOGwQRRCsViRRZhO0VrbdncRVqOZZAw8RtmQ0= X-Barracuda-RBL-Trusted-Forwarder: 10.2.55.10 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 22 Oct 2015 22:21:02 -0700 From: Cory Smelosky To: freebsd-virtualization@freebsd.org Subject: Re: Issues with bhyve under KVM In-Reply-To: <56287F01.7060308@freebsd.org> X-ASG-Orig-Subj: Re: Issues with bhyve under KVM References: <061b9d92bf351baa9263279e86513861@ixsystems.com> <78cd6c472dfa583c81442d766e620bf7@ixsystems.com> <56287F01.7060308@freebsd.org> Message-ID: <941285e78b5cd6a3a9283ef1f0068893@ixsystems.com> X-Sender: corys@ixsystems.com User-Agent: Roundcube Webmail/1.1.3 X-Barracuda-Connect: UNKNOWN[10.2.55.1] X-Barracuda-Start-Time: 1445576999 X-Barracuda-Encrypted: DHE-RSA-CAMELLIA256-SHA X-Barracuda-URL: https://10.2.0.41:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at ixsystems.com X-Barracuda-BRTS-Status: 1 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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: Fri, 23 Oct 2015 05:10:01 -0000 On 2015-10-21 23:15, Peter Grehan wrote: > Hi Cory, > >> `dmesg` prints a message saying that VT-x is "disabled by BIOS" (I >> passed -L and -bios pointed at OVMF just in case it was a strange >> SEABIOS compile option) to no change. -cpu is set to host, I have >> also >> tried passing -cpu qemu64,+vmx manually to no change. > > That's not strictly true, and in this case harmless. I'll make sure > that is fixed. Ahhh. Yeah - misleading errors are annoying! > >> Oct 14 06:13:19 kernel: vmx_init: processor does not support desired >> basic capabilities > > bhyve expects that the CPU supports INS/OUTS exits. This is signalled > in bit 54 of the VMX_BASIC MSR. I'll have a talk with Neel about the > implications of ignoring this bit. Hmm. Does Linux KVM ignore it? (does -host not emulate all MSRs?) > > later, > > Peter. -- -- Cory Smelosky iXsystems