From owner-freebsd-virtualization@freebsd.org Mon Feb 13 23:47:37 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 280E4CDE6D4 for ; Mon, 13 Feb 2017 23:47:37 +0000 (UTC) (envelope-from akgupt3@gmail.com) Received: from mail-it0-x22b.google.com (mail-it0-x22b.google.com [IPv6:2607:f8b0:4001:c0b::22b]) (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 E395427B for ; Mon, 13 Feb 2017 23:47:36 +0000 (UTC) (envelope-from akgupt3@gmail.com) Received: by mail-it0-x22b.google.com with SMTP id d9so12154975itc.0 for ; Mon, 13 Feb 2017 15:47:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=1N84+8XsX39ytRlxs33Oo6sk7wNoHNV2H5DCSUCIn9c=; b=XROo7JYM44LZjMVTUefAaacU+Z6Oq57tU3HtR5p8ClM5pziY4jNAx/piRhE6jBYDd/ EUe6wd57GjbzRFK7PM/QSX2KZwHyTt7TKxrX9j4JE97FHXwGc7MKf3f/7PWqO56YAR2j +szFOUgJjVD6VA3NGXSEuJrwzONdnrIKD4D4v+s/jV/4CQ+hZhCvkofmAtjKghj5lhxQ iz15JThzlAHtdYCueLsv3OtdgahK/urCnD6tqf7V5Ebd82wLTKttYcJcDJIK3rpflKoO Azt6asb1o42gA6n0OgKbiZWaU9PtF4Jwi41DMqQHlswsg7QAFqb23qjc55dIhVwsEkjS lJDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=1N84+8XsX39ytRlxs33Oo6sk7wNoHNV2H5DCSUCIn9c=; b=FTPll3+FxZpXUDyjTCEK7vzWGAePEbTv7oRLd91RE1/s6eWbJpS8uQToCsfqxXLr48 Wdx3f0/skrlH51egTJ9gbXSGqBj9zZ7bp7g9ggJdjeYRom0moQDLWPCHCz76D/iNp7XX mybDNqiRBpGxKTwhXsnxjgxDzdR7C+zMxhz2gZ5DLI8ppTaYD3mwprz+qIFS+rWdW9jw 0j/i5hyrdFfpNrdZA4Oz1VyYIy88/mXYAi3DMLR0lMzqcd/A/CH0fLrR/2z4PNb9A9BQ gdjufM6jL2wWcJ6DUTUPDW1mAR+pARUBT43lb7ihN33fpkWTJ8r5BrRORwJX886Nk7q7 P6og== X-Gm-Message-State: AMke39m15AfDf9HdEqpuKaBm1e522HPyUqu2z2tCf5m+KZKhV6Ppzu44BwzqJHULExsqhA== X-Received: by 10.99.140.28 with SMTP id m28mr29944602pgd.174.1487029656301; Mon, 13 Feb 2017 15:47:36 -0800 (PST) Received: from [172.24.67.47] ([207.231.170.7]) by smtp.gmail.com with ESMTPSA id z127sm23037461pgz.29.2017.02.13.15.47.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Feb 2017 15:47:35 -0800 (PST) Subject: Re: Installing Freebsd guests under bhyve without using scripts To: "C. L. Martinez" , freebsd-virtualization@freebsd.org References: From: Anish Gupta Message-ID: Date: Mon, 13 Feb 2017 15:47:34 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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: Mon, 13 Feb 2017 23:47:37 -0000 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 On 2/13/17 1:29 PM, C. L. Martinez wrote: > Hi all, > > What are the steps to install freebsd guests under bhyve without using > iocage, vm-bhyve or vmrun.sh?? > > Do I need to use first bhyveload and after bhyve -A -c 1 -u, etc?? > > Thanks. > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org"