From owner-freebsd-virtualization@freebsd.org Fri Oct 23 05:36:39 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 280ADA164F3 for ; Fri, 23 Oct 2015 05:36:39 +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 07D0382C for ; Fri, 23 Oct 2015 05:36:38 +0000 (UTC) (envelope-from corys@ixsystems.com) X-ASG-Debug-ID: 1445578598-08ca040e84b1860001-XWyayz Received: from mail.iXsystems.com ([10.2.55.1]) by barracuda.ixsystems.com with ESMTP id efmn6HxGa6zx9xVX (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 22 Oct 2015 22:36:38 -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 C078B85CE0 for ; Thu, 22 Oct 2015 22:36:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ixsystems.com; s=newknight0; t=1445578597; bh=1rTy2Ulr8DtwZtJ6kzZa28cbfuyQBXO2iJPy7fQekwg=; h=Date:From:To:Subject:In-Reply-To:References; b=PR+brBQhUCdRW0RN1BYqF+zfAhZu9fPEGaZ9wK3ZoZOHYBW5zNtdHneISkGbCn7Md 0y5tfIl5IvIGz9mW38tFsGk6lqdZesxgRo8e/qWFbgVWQxkKKZTN14bFcsxUH0EJDp BC4JhdkyAvAsj3WmpiOypcinHT09FhAkDmlW3Fd8= 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:47:41 -0700 From: Cory Smelosky To: freebsd-virtualization@freebsd.org Subject: Re: Issues with bhyve under KVM In-Reply-To: <5629C2DE.4040908@ptree32.com.au> X-ASG-Orig-Subj: Re: Issues with bhyve under KVM References: <061b9d92bf351baa9263279e86513861@ixsystems.com> <78cd6c472dfa583c81442d766e620bf7@ixsystems.com> <56287F01.7060308@freebsd.org> <941285e78b5cd6a3a9283ef1f0068893@ixsystems.com> <5629C2DE.4040908@ptree32.com.au> Message-ID: <7a8d9aeee8a4fa4bdd1afbc850e08543@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: 1445578598 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:36:39 -0000 On 2015-10-22 22:17, Peter Grehan wrote: > Hi Cory, > >>> 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? > > It must do (as did bhyve for a long time). Ahhhh. > >> (does -host not emulate all MSRs?) > > Probably just not that bit. You might want to try the this patch > which comments out that test, and see if it gets you any further. > https://people.freebsd.org/~grehan/patches/vmx_ins.diff --- all_subdir_vmm --- /usr/src/sys/modules/vmm/../../amd64/vmm/intel/vmx.c:535:11: error: unused variable 'basic' [-Werror,-Wunused-variable] uint64_t basic, fixed0, fixed1, feature_control; ^ 1 error generated. Aww. I need to actually run a later SVN release instead of 286666. Tried to save some time. ;) > > later, > > Peter. -- -- Cory Smelosky iXsystems