From owner-freebsd-virtualization@freebsd.org Thu Feb 16 09:57:11 2017 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 27B3ACE159C for ; Thu, 16 Feb 2017 09:57:11 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 04D677CC for ; Thu, 16 Feb 2017 09:57:11 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 042BACE159B; Thu, 16 Feb 2017 09:57:11 +0000 (UTC) Delivered-To: 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 03D25CE159A for ; Thu, 16 Feb 2017 09:57:11 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: from mail-wr0-x22d.google.com (mail-wr0-x22d.google.com [IPv6:2a00:1450:400c:c0c::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 925927C4 for ; Thu, 16 Feb 2017 09:57:10 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: by mail-wr0-x22d.google.com with SMTP id 89so3316086wrr.3 for ; Thu, 16 Feb 2017 01:57:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Iwe2p8OYC1p2G2h7wOTC6ECit9Jms2fuLXb89Yr7JBg=; b=i5+kn1fjhMynaLhjU64CSfNBF5MqdIQX7Io808+qUlC8AK1TIzG37RNsP1OFwM1pp2 1Ut6gWPB6llIId4/Qaom/jKCMrfDJw3GsOu+aCbEc5GY0Dy+M4wYCxtQXDVZvxVvgIRg 17f9p/2Unxet/dIYwoJOtsg5rhmmNWtXPD3rauYziCqXWVSJR0gIsZ1BZMeunXsV5qEl TJnWkDkhWOakhMb8iXYqRaK1s4m8Y3JJEmeWSq5YMlyiV1RDx/9/v3XzTFf2Jje1GFSR txTvxQLY1qlewgBLYkqnbA2n5v3ZtMywBeQksG9T1ZNrMkfiUm5kpP62cGOC46hCRkxF BxXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Iwe2p8OYC1p2G2h7wOTC6ECit9Jms2fuLXb89Yr7JBg=; b=rSKg4hJCSr3UfxYOlAbRjhWKHdYfCMduXGP0eo03DRgRXi0FSyJNSwLOBQAbmlHH7X EovSTZ0MC5EO4DjPy/noFkh1AXcELd9ajKrH4qD1gcpZZcJE1hB9J2YURwuVYN0IBVE1 CKpiMM6o23W1ySxl1X0gkn51wImjpoWITDrN96LrMNHSvOVG1HigV27Ou+f3qQDPgs1Q pc2Kgv8+lqkuHMcf3FwGMU6yIaLpKqV8rItyTuzlKsRp1wWfpWhvpFhogk+qQxq6NbCr Nn8A33BxSHB5G9h+o3z7scIoupZ5RmFITa7I0XrVZvva4yp3/26R+byYh0MLlYxmIApC uulw== X-Gm-Message-State: AMke39knS4qXNNOhXjCpvo6x22ir5d5xa7KFJ7+iMZyUdds1zcxGVsm0hydeaIka4J4DVw== X-Received: by 10.223.138.9 with SMTP id w9mr1391841wrw.50.1487239028103; Thu, 16 Feb 2017 01:57:08 -0800 (PST) Received: from localhost (231.red-79-150-68.dynamicip.rima-tde.net. [79.150.68.231]) by smtp.gmail.com with ESMTPSA id 36sm1606205wrk.57.2017.02.16.01.57.07 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Feb 2017 01:57:07 -0800 (PST) Date: Thu, 16 Feb 2017 09:57:18 +0000 From: "C. L. Martinez" To: virtualization@freebsd.org Subject: Re: Installing Freebsd guests under bhyve without using scripts Message-ID: <20170216095718.45g3nvmhakyffijn@scotland.uxdom.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 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: Thu, 16 Feb 2017 09:57:11 -0000 On Mon, Feb 13, 2017 at 03:47:34PM -0800, Anish Gupta wrote: > Yes, you need bhyveload to load guest OS, setup hypervisor nested{EPT/NPT] > page table etc, see vmrun.sh > > ${LOADER} -c ${console} -m ${memsize} -d ${BOOTDISK} ${loader_opt} \ > ${vmname} > > LOADER=bhyveload > > and then use 'bhyve' to start and run guest/VM. > > ${FBSDRUN} -c ${cpus} -m ${memsize} ${apic_opt} -A -H -P \ > -g ${gdbport} \ > -s 0:0,hostbridge \ > -s 1:0,lpc \ > ${devargs} \ > -l com1,${console} \ > ${installer_opt} \ > ${vmname} > > FBSDRUN=bhyve > > Of course ${memsize}, ${vmname} etc must match between bhyveload and bhyve. > > -Anish > Many thanks Anish -- Greetings, C. L. Martinez