From owner-freebsd-virtualization@FreeBSD.ORG Wed May 21 04:55:05 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 04A83E7A; Wed, 21 May 2014 04:55:05 +0000 (UTC) Received: from mail-wi0-x229.google.com (mail-wi0-x229.google.com [IPv6:2a00:1450:400c:c05::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ABFD282D; Wed, 21 May 2014 04:55:04 +0000 (UTC) Received: by mail-wi0-f169.google.com with SMTP id hi2so7855067wib.0 for ; Tue, 20 May 2014 21:55:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=FyxmnFOWlAlL1txsd2k1rTnnhKxuGbmmRQPLmZSP65o=; b=GoqP1Av4j+GNggnDFyHUmspUMRrHpUt2Y+lgJeAes/tomJ7xRYTSry69YXoyosjRbD ggWl0dHuMg3NplIfhB4WWCn137KIcPYPmN1z8ViMJwkreyk6LaVCJyo0uZbNy4BPe/S2 q3143IW11aKomcuSmq4F2JPlSsMvXrSPVJmswP2ipdNK6WEEraUlWoENfo0TsTAB1zYw ACHvyloFQdXtzsznEwZ7gE85FhY/E+b0xM2n56EvPFDi2csjxyBnR68rbK3EsWyDBri+ hXwgYju7quPFXHbt5VGNMfxHKiGUsr4dBpV7/T8+dxowQbnshu/m3JjYmMCcyNlnW/cz FMLQ== MIME-Version: 1.0 X-Received: by 10.180.93.226 with SMTP id cx2mr8188420wib.16.1400648102133; Tue, 20 May 2014 21:55:02 -0700 (PDT) Received: by 10.194.135.49 with HTTP; Tue, 20 May 2014 21:55:02 -0700 (PDT) In-Reply-To: <537BC30C.4070208@digiware.nl> References: <53748481.8010108@FreeBSD.org> <537BC30C.4070208@digiware.nl> Date: Tue, 20 May 2014 21:55:02 -0700 Message-ID: Subject: Re: bhyve: svm (amd-v) update From: Anish To: Willem Jan Withagen Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 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 04:55:05 -0000 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. 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 > > >