From owner-freebsd-virtualization@freebsd.org Sun May 12 11:59:09 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8FCC31595388 for ; Sun, 12 May 2019 11:59:09 +0000 (UTC) (envelope-from hicks@cgi.cz) Received: from odine.cgi.cz (odine.cgi.cz [178.162.206.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D46196D222 for ; Sun, 12 May 2019 11:58:58 +0000 (UTC) (envelope-from hicks@cgi.cz) Received: from bsd.cgi.cz (bsd.cgi.cz [178.238.45.112]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by odine.cgi.cz (Postfix) with ESMTPS id 78CA7646B8C for ; Sun, 12 May 2019 13:58:50 +0200 (CEST) Received: from hel.cgi.cz (hel [192.168.66.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by bsd.cgi.cz (Postfix) with ESMTPS id 2B2557BDC72 for ; Sun, 12 May 2019 13:58:48 +0200 (CEST) Received: from localhost (unknown [192.168.66.11]) by hel.cgi.cz (Postfix) with ESMTP id 1C2BCE804F for ; Sun, 12 May 2019 13:58:47 +0200 (CEST) Received: from hel.cgi.cz ([192.168.66.6]) by localhost (antispam1.cgi.cz [192.168.66.11]) (amavisd-new, port 10024) with LMTP id nmtHhOkLuJJn for ; Sun, 12 May 2019 13:58:46 +0200 (CEST) Received: from mail2.cgi.cz (hermes [172.17.174.1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by hel.cgi.cz (Postfix) with ESMTPS id B401CE8044 for ; Sun, 12 May 2019 13:58:45 +0200 (CEST) Received: from [192.168.8.84] (85-207-121-73.static.bluetone.cz [85.207.121.73]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail2.cgi.cz (Postfix) with ESMTPSA id 8ACA3FFC75 for ; Sun, 12 May 2019 13:58:45 +0200 (CEST) Subject: Re: [vm-bhyve] adding existing vm instances to the vm-bhyve system To: freebsd-virtualization@freebsd.org References: <20190512110609.GA15384@rpi3.zyxst.net> From: Jakub Chromy Message-ID: <8980b70f-dbdb-95e3-8414-61d5e3a39888@cgi.cz> Date: Sun, 12 May 2019 13:58:48 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20190512110609.GA15384@rpi3.zyxst.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB X-Rspamd-Queue-Id: D46196D222 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of hicks@cgi.cz designates 178.162.206.214 as permitted sender) smtp.mailfrom=hicks@cgi.cz X-Spamd-Result: default: False [0.87 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; NEURAL_SPAM_MEDIUM(0.24)[0.243,0]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.12)[-0.116,0]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_SHORT(0.49)[0.493,0]; MX_GOOD(-0.01)[hel.cgi.cz]; DMARC_NA(0.00)[cgi.cz]; IP_SCORE(0.56)[asn: 28753(2.83), country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:28753, ipnet:178.162.192.0/18, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_SEVEN(0.00)[7] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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: Sun, 12 May 2019 11:59:09 -0000 Hello "J", so you'd like to manage your current bhyve guests with vm (https://github.com/churchers/vm-bhyve)? Very easy.. just create a configuration for them. I use a /var/vm directory, here is my /etc/rc.conf vm_enable="YES" vm_dir="zfs:zpoolssd/vm" -- regards / s pozdravem Jakub Chromy CGI Systems div. ---------------- CGI CZ s.r.o. sales@cgi.cz 775 144 257 234 697 102 www.cgi.cz On 12.5.2019 13:06, tech-lists wrote: > Hi, > > How would one import a freebsd or linux vm currently running on a > freebsd-12 server into vm-bhyve management? I can see lots of > instructions for starting from fresh, but none for import of existing. > Is this possible? > > The guests are currently running as per > https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/virtualization-host-bhyve.html > > in screen. Some guests are file-backed, others zvol-backed. > > thanks,