From owner-freebsd-virtualization@FreeBSD.ORG Wed May 21 07:51:20 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BA65BCD6; Wed, 21 May 2014 07:51:20 +0000 (UTC) Received: from smtp.digiware.nl (smtp.digiware.nl [31.223.170.169]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 762492889; Wed, 21 May 2014 07:51:20 +0000 (UTC) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 6E8E3153ABA; Wed, 21 May 2014 09:51:18 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.nl Received: from smtp.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x0rdqrjwoEGv; Wed, 21 May 2014 09:51:16 +0200 (CEST) Received: from [IPv6:2001:4cb8:3:1:5099:2185:4a0e:9ad8] (unknown [IPv6:2001:4cb8:3:1:5099:2185:4a0e:9ad8]) by smtp.digiware.nl (Postfix) with ESMTP id 8B968153434; Wed, 21 May 2014 09:51:16 +0200 (CEST) Message-ID: <537C5AF0.7070403@digiware.nl> Date: Wed, 21 May 2014 09:51:12 +0200 From: Willem Jan Withagen Organization: Digiware Management b.v. User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Anish Subject: Re: bhyve: svm (amd-v) update References: <53748481.8010108@FreeBSD.org> <537BC30C.4070208@digiware.nl> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD virtualization , Andriy Gapon , Neel Natu X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18 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, 21 May 2014 07:51:20 -0000 On 2014-05-21 6:55, Anish wrote: > Hi Willem, > > > I patch against bhyve_SVM, because in the later case I get > complaints that > This patch is to sync bhyve_svm project branch with HEAD @263780, so you > have to first merge HEAD to bhyve_svm. It will prompt you to resolve > conflict in amdv.c, you should accept the changes that are in bhyve_svm > and then apply the patch. bhyve HEAD exposed vlapic > related interfaces along with some other changes, this patch will enable > vlapic interfaces for SVM. I'd be interested in the vlapic to if that helps the speed. But you can help me a lot if you give me the SVN commands to do what you described above. I can fetch a clean bhyve_svm brach, but that is as far as my svn goes. I'll see if I can get my patches in as well. Thanx, --WjW > > Thanks and regards, > Anish > > > On Tue, May 20, 2014 at 2:03 PM, Willem Jan Withagen > wrote: > > On 15-5-2014 17:56, Anish wrote: > > Hi Andriy, > > Thanks for your interest in SVM port of bhyve. I do have patch > to sync it > > to > http://svnweb.freebsd.org/base?view=revision&revision=263780(3/26). If > > patches looks good to you, we can submit it. I have been testing > it on > > Phenom box which lacks some of newer SVM features. > > I don't quite understand against what this patch is? > > Do I run it over head, to get SVM code into head? > Or do I patch against bhyve_SVM, because in the later case I get > complaints that > fatal error: 'vlapic_priv.h' file not found > > # locate vlapic_priv.h > /usr/srcs/head/sys/amd64/vmm/io/vlapic_priv.h > > So I'm guessing that is against head. > But last time I looked at head, more than just the interrupt stuff was > missing.... > > --WjW > > >