From owner-freebsd-virtualization@freebsd.org Sun Mar 6 14:57:41 2016 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 93430AC0C3F for ; Sun, 6 Mar 2016 14:57:41 +0000 (UTC) (envelope-from john@potato.growveg.org) Received: from potato.growveg.org (potato.growveg.org [62.49.247.163]) (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 5FCA480F for ; Sun, 6 Mar 2016 14:57:38 +0000 (UTC) (envelope-from john@potato.growveg.org) Received: from john by potato.growveg.org with local (Exim 4.86_2 (FreeBSD)) (envelope-from ) id 1aca7e-00034h-Hb for freebsd-virtualization@freebsd.org; Sun, 06 Mar 2016 14:57:30 +0000 Date: Sun, 6 Mar 2016 14:57:30 +0000 From: John To: freebsd-virtualization@freebsd.org Subject: mount bhyve image Message-ID: <20160306145730.GA88508@potato.growveg.org> Reply-To: freebsd-virtualization@freebsd.org Mail-Followup-To: freebsd-virtualization@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: john X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 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, 06 Mar 2016 14:57:41 -0000 Hello list, Can a bhyve image be mounted to the filesystem? Not an active image, I mean, say one has a problem loading a bhyve instance. Is it possible to mount the image as one would for example mount a cdrom image as per md(8) ? If it is possible, what are the parameters please? thanks, -- John From owner-freebsd-virtualization@freebsd.org Sun Mar 6 18:15:51 2016 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 1F448AB6887 for ; Sun, 6 Mar 2016 18:15:51 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from mx1.scaleengine.net (mx1.scaleengine.net [209.51.186.6]) by mx1.freebsd.org (Postfix) with ESMTP id F3CB29A2 for ; Sun, 6 Mar 2016 18:15:50 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from [10.1.1.2] (unknown [10.1.1.2]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 232CED7F6 for ; Sun, 6 Mar 2016 18:15:44 +0000 (UTC) Subject: Re: mount bhyve image To: freebsd-virtualization@freebsd.org References: <20160306145730.GA88508@potato.growveg.org> From: Allan Jude Message-ID: <56DC73CA.7080207@freebsd.org> Date: Sun, 6 Mar 2016 13:15:38 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <20160306145730.GA88508@potato.growveg.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TC5dMnAC2m4qCB4rLWFmr6LkwflBRLSLO" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 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, 06 Mar 2016 18:15:51 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --TC5dMnAC2m4qCB4rLWFmr6LkwflBRLSLO Content-Type: multipart/mixed; boundary="pfVGm2LtX3U70jboEJSQgfLh9QoJtxoHH" From: Allan Jude To: freebsd-virtualization@freebsd.org Message-ID: <56DC73CA.7080207@freebsd.org> Subject: Re: mount bhyve image References: <20160306145730.GA88508@potato.growveg.org> In-Reply-To: <20160306145730.GA88508@potato.growveg.org> --pfVGm2LtX3U70jboEJSQgfLh9QoJtxoHH Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2016-03-06 09:57, John wrote: > Hello list, >=20 > Can a bhyve image be mounted to the filesystem? Not an active image, I > mean, say one has a problem loading a bhyve instance. Is it possible > to mount the image as one would for example mount a cdrom image as per > md(8) ? If it is possible, what are the parameters please? >=20 > thanks, Yes, you mount it the same way as a cdrom image: mdconfig -a -t vnode -f /path/to/image then: mount -t /dev/md0p1 /mnt note that depending on your partitioning scheme, the exact device name will different. md0p1 is the first GPT partition, it might be MBR instead, which would be md0s1, etc. --=20 Allan Jude --pfVGm2LtX3U70jboEJSQgfLh9QoJtxoHH-- --TC5dMnAC2m4qCB4rLWFmr6LkwflBRLSLO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJW3HPPAAoJEBmVNT4SmAt+KqIP/A0rTNYcOQaGLnJ5lSQ4G53y Qtji044nlmdFUg32KpV8Sn3x+QAlcPC2U+aBolLGUwwJUsYmdzcgMHH5KcsD+Em6 vn8bXc5YmdWQv/sI0qiFr885RoOGkSFDbceH/DLrhsf2+Y02QiKviwYCrB8i4IqG BoM0LFznmhhgnSV8b2NlmL9xuS42CbgKbcW6jWemy7aNUTIHqGiD6ZVcUTtZOEcz E5g0Pwtp1hlgJdrIInIUcZ1ORj7GB/+3WRmQG3oXZGYMz0cdri1uZ7yIyEPKxtl8 E4upQ0ee8Pd9UNmItsqNDthK/n/zg/sgXgct5uQaGQNtP+/LmeI3GoqN5dMR4nBb sn571R5HP8kfj8XoRMkAyCegVlVe3vOXifG+wL3YaCJaEXDb97BjlrgauWhhNi4r CuNRyoFSwxexJbcjdw6bCtfvK0xdAvZoApaaCAV2MKXYFqK1XUttwPQHk2Ldxqqb SON7L2PE7+IY/v46XYNWuUIU7ToGLaTPUD4qfgYiSd8dM1GMq8kaWlfNtZdw1YYM iER28kuzREg5O4Gq8lxxbjJORyJmwg9NzeeKPBHX1Y9LyIPtyqASGJKxpXDc5uFJ SkeZ51AEgszVFesOGyaBFYm4j4eAmfik3TwcrKH6BoRxATnnZW8cO1Lyr7GkQdyd jIcmdJC7r6V4GisTJ3Es =uKOO -----END PGP SIGNATURE----- --TC5dMnAC2m4qCB4rLWFmr6LkwflBRLSLO-- From owner-freebsd-virtualization@freebsd.org Sun Mar 6 21:00:19 2016 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 6D920AC29AC for ; Sun, 6 Mar 2016 21:00:19 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 4B7EA8BF for ; Sun, 6 Mar 2016 21:00:19 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u26L01Jv008958 for ; Sun, 6 Mar 2016 21:00:19 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201603062100.u26L01Jv008958@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: freebsd-virtualization@FreeBSD.org Subject: Problem reports for freebsd-virtualization@FreeBSD.org that need special attention Date: Sun, 06 Mar 2016 21:00:19 +0000 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 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, 06 Mar 2016 21:00:19 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 202321 | [bhyve,patch] More verbose error reporting in bhy New | 202322 | [bhyve,patch] add option to have bhyve write its 2 problems total for which you should take action. From owner-freebsd-virtualization@freebsd.org Mon Mar 7 19:17:55 2016 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 E3636AC2322 for ; Mon, 7 Mar 2016 19:17:55 +0000 (UTC) (envelope-from john@potato.growveg.org) Received: from potato.growveg.org (potato.growveg.org [62.49.247.163]) (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 AEAEE777 for ; Mon, 7 Mar 2016 19:17:55 +0000 (UTC) (envelope-from john@potato.growveg.org) Received: from john by potato.growveg.org with local (Exim 4.86_2 (FreeBSD)) (envelope-from ) id 1ad0f5-0002Pl-7N for freebsd-virtualization@freebsd.org; Mon, 07 Mar 2016 19:17:47 +0000 Date: Mon, 7 Mar 2016 19:17:47 +0000 From: John To: freebsd-virtualization@freebsd.org Subject: Re: mount bhyve image Message-ID: <20160307191747.GA9231@potato.growveg.org> Reply-To: freebsd-virtualization@freebsd.org Mail-Followup-To: freebsd-virtualization@freebsd.org References: <20160306145730.GA88508@potato.growveg.org> <56DC73CA.7080207@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <56DC73CA.7080207@freebsd.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: john X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 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, 07 Mar 2016 19:17:56 -0000 On Sun, Mar 06, 2016 at 01:15:38PM -0500, Allan Jude wrote: >Yes, you mount it the same way as a cdrom image: > >mdconfig -a -t vnode -f /path/to/image > >then: mount -t /dev/md0p1 /mnt > >note that depending on your partitioning scheme, the exact device name >will different. md0p1 is the first GPT partition, it might be MBR >instead, which would be md0s1, etc. Thanks for the confirmation, thats useful info. -- John From owner-freebsd-virtualization@freebsd.org Tue Mar 8 10:01:01 2016 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 EF89AAC7665 for ; Tue, 8 Mar 2016 10:01:00 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (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 98F55E2D; Tue, 8 Mar 2016 10:01:00 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: by mail-wm0-x22f.google.com with SMTP id p65so142421648wmp.1; Tue, 08 Mar 2016 02:01:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=3TJTeUMQKhnVR/U3dq4oz+9ALMW3AME9tIRL5CCCVqk=; b=FtRjy/Kag8LIm3yl3E4EEYAU1bzMZra4oONMi+tUlmij+dwfhH+Y+T++GJho9/hhG1 qolo/jANQVLGOm3iahVp7bAVivClkg2BU3dnMFSRbW5F/eLo9vhBEYF4MWa3PRHQMjEi 9qgjtfW+Xd84icHPWo7Ci0kieWUeE7n/9O2CsGbh80LCFsRhEijeBSz7DKueUuUGuM5C 26reDrD2TWf3v2NctVCwa2yjN0kZti9GgOtH4dsls93oKS7AzVrCpPqEVhgQvMqchniJ xeKDtDDyB67XSVITCge0/Hfjxdl/Prr/hHeDRsEr5gwvJAwcBTWbwSfC4YqQQlSv+MFo 8A3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=3TJTeUMQKhnVR/U3dq4oz+9ALMW3AME9tIRL5CCCVqk=; b=EExYrJvLcqQUwPdE42XoydfsYUJo2Hbb10G/aYL45+HIEA8im8a+z9hQxSzqivnfjh V4RTbrz/z20b9hVlvOhoI/mrzH1Mq6G7zciRweh2OwRyRsgNboq9mQMX2lzkOX/b8KNW +I+6sd0jEait5A7xeXRUXq+hv01e6ODKJ7STUjN8F/sdjX7LBxI/vjlrcFfRhDu7LExJ zDYWWQBEGI2t+OQ0jlC2gVzRlB4HY9OrKNsUZ/OrP9CDpFzdZb3WPh2xstQVLDqRfTdI knKuDbZfUMhx8pW/noWQ8McvHIWwj1iWe4dLDgVXTc66yE+IPfhMb7h2jIxNfh7MlJ+w EqaA== X-Gm-Message-State: AD7BkJIwyuc9ElamZrLRu3r0ni3TY9+GteILQ/wFW0glvOZC20x1hb6R27AH4M92XokJXA== X-Received: by 10.28.182.136 with SMTP id g130mr18288745wmf.10.1457431259030; Tue, 08 Mar 2016 02:00:59 -0800 (PST) Received: from brick.home (adje68.neoplus.adsl.tpnet.pl. [79.184.212.68]) by smtp.gmail.com with ESMTPSA id l7sm2123830wjx.14.2016.03.08.02.00.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Mar 2016 02:00:58 -0800 (PST) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Date: Tue, 8 Mar 2016 11:00:55 +0100 From: Edward Tomasz =?utf-8?Q?Napiera=C5=82a?= To: Allan Jude Cc: freebsd-virtualization@freebsd.org Subject: Re: mount bhyve image Message-ID: <20160308100055.GB1872@brick.home> Mail-Followup-To: Allan Jude , freebsd-virtualization@freebsd.org References: <20160306145730.GA88508@potato.growveg.org> <56DC73CA.7080207@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56DC73CA.7080207@freebsd.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 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: Tue, 08 Mar 2016 10:01:01 -0000 On 0306T1315, Allan Jude wrote: > On 2016-03-06 09:57, John wrote: > > Hello list, > > > > Can a bhyve image be mounted to the filesystem? Not an active image, I > > mean, say one has a problem loading a bhyve instance. Is it possible > > to mount the image as one would for example mount a cdrom image as per > > md(8) ? If it is possible, what are the parameters please? > > > > thanks, > > Yes, you mount it the same way as a cdrom image: > > mdconfig -a -t vnode -f /path/to/image > > then: mount -t /dev/md0p1 /mnt > > note that depending on your partitioning scheme, the exact device name > will different. md0p1 is the first GPT partition, it might be MBR > instead, which would be md0s1, etc. Or attach them using mdconfig (just as described above; note it can be shortened to "mdconfig /path/to/image") and use autofs media support, which takes care of figuring out the partitioning scheme and mounting stuff. See https://www.freebsd.org/doc/handbook/usb-disks.html, the last section. From owner-freebsd-virtualization@freebsd.org Wed Mar 9 10:27:15 2016 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 D6376AC981C for ; Wed, 9 Mar 2016 10:27:15 +0000 (UTC) (envelope-from mgamsjager@gmail.com) Received: from mail-io0-x22d.google.com (mail-io0-x22d.google.com [IPv6:2607:f8b0:4001:c06::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 A364E3DC for ; Wed, 9 Mar 2016 10:27:15 +0000 (UTC) (envelope-from mgamsjager@gmail.com) Received: by mail-io0-x22d.google.com with SMTP id z76so60294718iof.3 for ; Wed, 09 Mar 2016 02:27:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=avw7wUbcPBMl/zwwbCjD17ueX8AFedUNqmN4FVC00/I=; b=ScPHIK25AJFD3dnagfGayBWexbK4gqe51kkXwPGLdM29/VIinCEWQ6/AXUiZhAdoGT 1yQ613uHAewcCIgwtLQMkyq6wvscN1OkDG5re7oFEVZ8k7HoSgChzIcLOBhHZwClK3rN ePxGXgBFXFc++5ZKWmbqRoE0TN0ovzZ51JmmeKAy2VROmgOjcSWaDA0RoEHZ2SAZ3C6d u/B9IrYumLWjX83YcoqvIgW0n/KiMB0nFLx4Xj3BwT74aDwU3XXVH7D2CWz6Yti8fzD1 CFzxbOFI0pvssbMg+yRK+Oss8ZezvQhu79UFLPBUFTj3LSYZB5dii61/aT5a18Mo9a2A UlGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=avw7wUbcPBMl/zwwbCjD17ueX8AFedUNqmN4FVC00/I=; b=k2EiajXizGD0jfe82vyeDUrhwaeDqVxnE3sAHWRwrS1ZGf9NAqAnDiXa8QDA+tj/C/ +lT06rdBXf6AxUHXw2gJTTyGwMxPizKwmCQouWpQfKAVuaKt3qkX+Nad0ac0YKr8DMaO tb9ssDa4wyRGa6FJR/Z4Z99CQoEqmTEh1jYcoMj+ShWL2VXLhEosse1zUJqvxNb5AXau dIX0OrTfGGdrShe0CTLNSSoDUiSAf+ZSs/iBcBbEe9z11gcPE2oxcTsQvGabHynacVHh Z05Kfx45nwVilCwbTM4klNS5rHHngZ4XB+lLJLp3PKx2i3dH4jOg2K/+NGOtXJfdLi/f QvnQ== X-Gm-Message-State: AD7BkJJ7ogbXYslewvhi3R7n8W9KO6Fs+1meaPE4EA2X+Ppf+6x03qyMpOPTrKnP8JFzvOvURgMWUk66nXJ4yA== X-Received: by 10.107.135.96 with SMTP id j93mr13477486iod.96.1457519235047; Wed, 09 Mar 2016 02:27:15 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.149.229 with HTTP; Wed, 9 Mar 2016 02:26:45 -0800 (PST) In-Reply-To: <53F10736.3040402@freebsd.org> References: <1408304375.152231185@f342.i.mail.ru> <53F10736.3040402@freebsd.org> From: Matthias Gamsjager Date: Wed, 9 Mar 2016 11:26:45 +0100 Message-ID: Subject: Re: VNC server on bhyve To: "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 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, 09 Mar 2016 10:27:16 -0000 On 17 August 2014 at 21:49, Peter Grehan wrote: > Hi Denis, > > Does (or will include) bhyve VNC server? >> > > For the console, currently not. It will hopefully be there at some point. > > later, > > Peter. > > Old post but is there any item on the road map which implements a VNC server to access the console? For Windows install that would really come handy. From owner-freebsd-virtualization@freebsd.org Wed Mar 9 12:35:25 2016 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 6CC3DAC7E3C for ; Wed, 9 Mar 2016 12:35:25 +0000 (UTC) (envelope-from maurizio.vairani@cloverinformatica.it) Received: from host202-129-static.10-188-b.business.telecomitalia.it (host202-129-static.10-188-b.business.telecomitalia.it [188.10.129.202]) by mx1.freebsd.org (Postfix) with ESMTP id 28EB8E5C for ; Wed, 9 Mar 2016 12:35:24 +0000 (UTC) (envelope-from maurizio.vairani@cloverinformatica.it) Received: from [192.168.0.60] (MAURIZIO-PC [192.168.0.60]) by host202-129-static.10-188-b.business.telecomitalia.it (Postfix) with ESMTP id 79D1612D5C7; Wed, 9 Mar 2016 13:29:43 +0100 (CET) Subject: Re: VNC server on bhyve To: Matthias Gamsjager , "freebsd-virtualization@freebsd.org" References: <1408304375.152231185@f342.i.mail.ru> <53F10736.3040402@freebsd.org> From: Maurizio Vairani Message-ID: <56E01737.70305@cloverinformatica.it> Date: Wed, 9 Mar 2016 13:29:43 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 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.21 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, 09 Mar 2016 12:35:25 -0000 Il 09/03/2016 11:26, Matthias Gamsjager ha scritto: > On 17 August 2014 at 21:49, Peter Grehan wrote: > >> Hi Denis, >> >> Does (or will include) bhyve VNC server? >> For the console, currently not. It will hopefully be there at some point. >> >> later, >> >> Peter. >> >> > Old post but is there any item on the road map which implements a VNC > server to access the console? For Windows install that would really come > handy. I am waiting for a VNC server too. On my office server I have three Win7 VM on VirtualBox. Before converting the VM for bhyve I need a VNC server. Regards, Maurizio From owner-freebsd-virtualization@freebsd.org Wed Mar 9 22:00:43 2016 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 6A8A0AC9F16; Wed, 9 Mar 2016 22:00:43 +0000 (UTC) (envelope-from ricera10@gmail.com) Received: from mail-qg0-x22d.google.com (mail-qg0-x22d.google.com [IPv6:2607:f8b0:400d:c04::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 348D1F30; Wed, 9 Mar 2016 22:00:43 +0000 (UTC) (envelope-from ricera10@gmail.com) Received: by mail-qg0-x22d.google.com with SMTP id t4so54679618qge.0; Wed, 09 Mar 2016 14:00:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=eWls7HCvw966J462JdMd0n8b1Bq9RCPpt2SxcbO7Cm8=; b=bIWv7ywow0jjxL3FNwtrZFakVG+weYXnEXsmTgzGNr/5aUBfo9ecKZ7qVPm0JQgMfp j43eGoYFIN894X17rrXcxzHs5XeNr+KABmPgMpvF5mjHmruM8iF1rBAtq76YaDgxEL3c 9YVw6bWC8CgKSRSHkIPGpmys8+/ufrzYVA3ZjaLQHZP/GT+ZLLq9DxUPaLZr84EjyR+i 1obB/z4rxQXwyTao/1ui6tP70hUhobsTobKMK9xKD45g70+Fw4yfZJvPlGcvgu4ki9hM vm2WoNBkQK9unZAe5aazoBM1HnJ6DmyOcH7fnnETJwJQjVqUNZA+Ai8J+Ry7rUtSSr0F T3Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=eWls7HCvw966J462JdMd0n8b1Bq9RCPpt2SxcbO7Cm8=; b=Bc55C7Hxj7gPuJupwXuHF8XTNh1pshsInwmM8fdL0/xBSxV494S7wEb4oBA3MPwWZ8 bAu+bGM9Bh/NQM93Fy8yxg98q8+tDngqUgG5LErFAc+aM8NeQ6ZSblbcAD0kvtEnA08u YZbtNRiTMbW0RvcUgI/dVzUsygmtUYX/mYB1vpREuTCfzU2Uu0sFjInxGWn0rroXZr3h olWciCeOGDdZlieK9NpKCJbpYSX6LnkktSmsfx2/80Nd3kuu1EgqVZlflQNIGYhCAsmV 6txewIVAcIBJIvm4/TWM51PMK439NawssK57sVtXQKsBm3AXh7SbKjQBizlCfgR+eTb8 zEOQ== X-Gm-Message-State: AD7BkJLuTxyshUfcPHWgCKaK3ZHp1c4hEKUqPUZ7mkBMXRxPmFaE50v0DSgfbwbgFYIQkuBupTstYMF/uqmEdQ== X-Received: by 10.140.151.194 with SMTP id 185mr54393qhx.92.1457560841981; Wed, 09 Mar 2016 14:00:41 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Eric Joyner Date: Wed, 09 Mar 2016 22:00:32 +0000 Message-ID: Subject: Re: sr-iov issues, reset_hw() failed with error -100 To: Ultima Cc: freebsd-current@freebsd.org, freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 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, 09 Mar 2016 22:00:43 -0000 I don't know if you're still interested in this, but did you do "kenv hw.vmm.force_iommu=1" before loading the vmm module? I think that might be necessary. On Wed, Feb 24, 2016 at 5:12 PM Ultima wrote: > Yeah, still getting the -100 error, I do have sendmail disabled. I just > tested with sendmail up and running then add the VF's and it still shows > the error message. > > On Wed, Feb 24, 2016 at 8:04 PM, Eric Joyner wrote: > >> Are you still getting the -100 errors when trying to load the VF driver? >> >> I've tried SR-IOV on a system here, and I can confirm that traffic stops >> passing on the PF interface when you create a VF interface. That didn't >> used to happen, so I'm investigating why that is right now. >> >> On Wed, Feb 24, 2016 at 8:09 AM Ultima wrote: >> >>> Decided to do some more tests, I actually have a second board with >>> sr-iov >>> capabilities that I used for awhile with vmware esxi. I decided to test >>> this out and unfortunately it won't activate, it is giving the no space >>> left on device error message. I double checked bios and all VT-d related >>> options are enabled and have hw.ix.num_queues="4" in /boot/loader.conf. >>> Is >>> there anything else that may need to be set? .(It did work on vmware) >>> >>> For my second test, I moved the X540-AT1 to the board with the X540-AT2. >>> It functioned with the same issues as the AT2 tho. >>> >>> >>> I don't think I listed the motherboards in question yet so ill list them >>> now. >>> >>> S1200BTLRM - >>> >>> http://ark.intel.com/products/69633/Intel-Server-Board-S1200BTLRM?q=S1200BTLRM >>> MD80-TM0 >>> >>> - http://b2b.gigabyte.com/products/product-page.aspx?pid=5146#ov >>> >>> I'm not sure if it will be of any help tho. >>> >>> Ultima >>> _______________________________________________ >>> freebsd-current@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-current >>> To unsubscribe, send any mail to " >>> freebsd-current-unsubscribe@freebsd.org" >>> >> > From owner-freebsd-virtualization@freebsd.org Wed Mar 9 22:36:31 2016 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 3DA7CACAE8A; Wed, 9 Mar 2016 22:36:31 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: from mail-vk0-x22b.google.com (mail-vk0-x22b.google.com [IPv6:2607:f8b0:400c:c05::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 E7A421F58; Wed, 9 Mar 2016 22:36:30 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mail-vk0-x22b.google.com with SMTP id c3so74358863vkb.3; Wed, 09 Mar 2016 14:36:30 -0800 (PST) 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; bh=8qDG3MvJYE/G9Nyal6lIb2L/6XKpA5OJ62wiwZziZ0k=; b=JP1aT/Y4LrMDqTU5e6fZ3Ppirltyii+JB8htcWOt5ftY1XSzjUd2SKxhhpzRIfa8ZR Km9jUbndbxuy+UGvTVCrszqhdstVNhTO6na7IQNeie8ff8cWF9hl4MAEdNgQZWlw54pA nIXxo/Aft2GyCPNGZdt4oaJusiAh0WaQ6l5dFJJiap3UIndZZMJGbM8nHHSj0evimXga yOPqJwIN61P6HhruWKQ68nepPJUplpD6CCurQ2h3xG7gAl8c1b8IEYzECyvZb3ryqubX T92vFPtsuIBAh4Xc05N4HERzYcWUVriaXhmQb+AUGH12xHS1fv1dwy23epFKMlf5Ro/X h/lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=8qDG3MvJYE/G9Nyal6lIb2L/6XKpA5OJ62wiwZziZ0k=; b=B0VXv+lWvg4/5IQmeqoAPbs0QIA2DCDLcY8/TEs5YWqzw51Mt8rS1Bqt4puD+Z+lSh nsiCJhd+zNycmJFJa/7mYfR/EPxwlAbn03MaXveiiPDfM/hS+ibOSarbFtCdYXmTj89b j3w9uDrRBqu3j421KbTTZVczmprg9/ds7X8CdRYdJo03qL4I8/sqnTfzKzORh+zV99ES HHfjSgHDYvfc6k3IsO20AI7wqWgnYavTIS7QOBMrD/G9LFycyGfkJWE1Qiff3vPZ2YVc OUrGrsbdbs4gjoegssKKgy09WF8Sek4ypMKLoAV+HjmjhkvjRahliW38TcYzn7sBb7d9 MRiA== X-Gm-Message-State: AD7BkJKqjbDETCLS73mQ3AJzhRNMyPbRGBgllheCOm0Id4rUynwpYPkZTzWteABTlW/0KjAScG81TViVq8CifQ== MIME-Version: 1.0 X-Received: by 10.31.16.84 with SMTP id g81mr160087vki.152.1457562989939; Wed, 09 Mar 2016 14:36:29 -0800 (PST) Received: by 10.31.194.194 with HTTP; Wed, 9 Mar 2016 14:36:29 -0800 (PST) In-Reply-To: References: Date: Wed, 9 Mar 2016 17:36:29 -0500 Message-ID: Subject: Re: sr-iov issues, reset_hw() failed with error -100 From: Ultima To: Eric Joyner Cc: freebsd-current@freebsd.org, freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 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, 09 Mar 2016 22:36:31 -0000 I have been interested in this when I first read about it in 2012. =] Can this be done in loader.conf? I have vmm_load="YES" I'm not sure if the vf's are usable, I have not actually tested the vf's. The parent ix1 still shows no response. kldunload vmm kenv hw.vmm.force_iommu=1 kldload vmm iovctl -Cf /etc/iovctl.conf The same error messages appear, I currently on hmm i'm not sure, I upgraded with git and it doesn't show rev(last time I use git for source?) 8b372d1(master) On Wed, Mar 9, 2016 at 5:00 PM, Eric Joyner wrote: > I don't know if you're still interested in this, but did you do "kenv > hw.vmm.force_iommu=1" before loading the vmm module? I think that might be > necessary. > > On Wed, Feb 24, 2016 at 5:12 PM Ultima wrote: > >> Yeah, still getting the -100 error, I do have sendmail disabled. I just >> tested with sendmail up and running then add the VF's and it still shows >> the error message. >> >> On Wed, Feb 24, 2016 at 8:04 PM, Eric Joyner wrote: >> >>> Are you still getting the -100 errors when trying to load the VF driver? >>> >>> I've tried SR-IOV on a system here, and I can confirm that traffic stops >>> passing on the PF interface when you create a VF interface. That didn't >>> used to happen, so I'm investigating why that is right now. >>> >>> On Wed, Feb 24, 2016 at 8:09 AM Ultima wrote: >>> >>>> Decided to do some more tests, I actually have a second board with >>>> sr-iov >>>> capabilities that I used for awhile with vmware esxi. I decided to test >>>> this out and unfortunately it won't activate, it is giving the no space >>>> left on device error message. I double checked bios and all VT-d related >>>> options are enabled and have hw.ix.num_queues="4" in /boot/loader.conf. >>>> Is >>>> there anything else that may need to be set? .(It did work on vmware) >>>> >>>> For my second test, I moved the X540-AT1 to the board with the >>>> X540-AT2. >>>> It functioned with the same issues as the AT2 tho. >>>> >>>> >>>> I don't think I listed the motherboards in question yet so ill list them >>>> now. >>>> >>>> S1200BTLRM - >>>> >>>> http://ark.intel.com/products/69633/Intel-Server-Board-S1200BTLRM?q=S1200BTLRM >>>> MD80-TM0 >>>> >>>> - http://b2b.gigabyte.com/products/product-page.aspx?pid=5146#ov >>>> >>>> I'm not sure if it will be of any help tho. >>>> >>>> Ultima >>>> _______________________________________________ >>>> freebsd-current@freebsd.org mailing list >>>> https://lists.freebsd.org/mailman/listinfo/freebsd-current >>>> To unsubscribe, send any mail to " >>>> freebsd-current-unsubscribe@freebsd.org" >>>> >>> >> From owner-freebsd-virtualization@freebsd.org Thu Mar 10 10:16:23 2016 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 55951ACACF5 for ; Thu, 10 Mar 2016 10:16:23 +0000 (UTC) (envelope-from brahmann@lifec0re.net) Received: from mx.lifec0re.net (mx.lifec0re.net [212.86.98.154]) by mx1.freebsd.org (Postfix) with ESMTP id 1A5AFA52 for ; Thu, 10 Mar 2016 10:16:22 +0000 (UTC) (envelope-from brahmann@lifec0re.net) Received: from [83.142.232.12] by mx.lifec0re.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86 (FreeBSD)) (envelope-from ) id 1adx44-0002nL-Oy for freebsd-virtualization@freebsd.org; Thu, 10 Mar 2016 11:39:28 +0200 Reply-To: brahmann@lifec0re.net To: freebsd-virtualization@freebsd.org From: brahmann Subject: ports/Xen on CURRENT, error: ELF start or entries are out of bounds. Message-ID: <56E14066.5080400@lifec0re.net> Date: Thu, 10 Mar 2016 11:37:42 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 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, 10 Mar 2016 10:16:23 -0000 Hi all. I'm trying to run XEN on latest current as dom0. Did all by manual: http://wiki.xen.org/wiki/FreeBSD_Dom0 (except compiling from git, cant compile tools, so just used ports xen/xen-tools/xen-kernel) And stuck with such an error: --- (XEN) elf_xen_addr_calc_check: ERROR: ELF start or entries are out of bounds. Could not set up DOM0 guest OS --- This only drops on console while xen kernel boots, all other strings are OK according to manual. Link to photo of speedy console log: http://imgur.com/a5b9CLE If need details pls ask. Please, tell me where to look or what to do or at least guide me in the right direction. Thanks! -- With Best Regards, brahmann From owner-freebsd-virtualization@freebsd.org Thu Mar 10 19:56:54 2016 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 E7DEEACBC8D for ; Thu, 10 Mar 2016 19:56:53 +0000 (UTC) (envelope-from pavel.odintsov@gmail.com) Received: from mail-io0-x22d.google.com (mail-io0-x22d.google.com [IPv6:2607:f8b0:4001:c06::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 B5A3A18C for ; Thu, 10 Mar 2016 19:56:53 +0000 (UTC) (envelope-from pavel.odintsov@gmail.com) Received: by mail-io0-x22d.google.com with SMTP id n190so119556011iof.0 for ; Thu, 10 Mar 2016 11:56:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=lPrK6hJBoX0kcdz5R6dLfgcB5rBLK4UlQMZmXMbUbss=; b=GqSicigwLZhFgnMcbq/tNik/2p60GNJbMpFJUjThYb3/Gm0NPYNtOBCkph29owEYnB 8PHp1t+mToAIik3vzbo9O6HNekzhWymtc7GXMPd1ZA8yWkvktL3l3a2Y3WtPGEek+pA/ 1e3MO2xXJrBR7aYPe6/dmnwfsd53djhoBg9JKVMjSmaGBi9ni6vXgc3GIIA3eI24pge1 AUyMSRuYxfd6TuH6VtRapzrvtzRGZf1CXPa90w63Ar30QxLeWHjgPKk9yOiyFs4EwUfd v2gdnDJFpkOfSNCpz0kbtsI+URIV0beVSzaSTysKqmftKst5Sooi4tpRsxEAse5FnFHL XeEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=lPrK6hJBoX0kcdz5R6dLfgcB5rBLK4UlQMZmXMbUbss=; b=QYqkaSJ9ETKYqhRTE/DoX3IdScLr286gDRyZCRVNwRHOFQPzWhTA6kAI07d/ej9bTL dy/0XSVu94xoLwkCJ+ZQ6gYL8dbkF3h53YbNT6xDd3Vzci+/cjBdhSBK9gC0xqQuj7v5 d9HP7pgdGpv1gEqeOgXkR5J26xBXv5phZ52nQZaMsHPea+nrKZzE0Wa9cmQbKJJ4UWGz XniOEOASJt2+QLt1eU30TpD0syAJ3mGBaEyR+HkshLUngKMT6QzF+gGSBHhoH8vej4zq ckmFfs7xCL4F/0gbNOLnWevQg4W4i/YYiNJmFGJ7zMvJ4QUM/eulPvDV54p0olBZmrog 8JIw== X-Gm-Message-State: AD7BkJKH1o+DEcF0+g7+SKxCjEp8dc5HnPIY4H5oqQ1wT5OggVhJfBXyfryy7ZnitzZhSrcXBlqLBtiTfcPEOA== MIME-Version: 1.0 X-Received: by 10.107.1.149 with SMTP id 143mr6252504iob.194.1457639812965; Thu, 10 Mar 2016 11:56:52 -0800 (PST) Received: by 10.79.36.134 with HTTP; Thu, 10 Mar 2016 11:56:52 -0800 (PST) Date: Thu, 10 Mar 2016 22:56:52 +0300 Message-ID: Subject: ZFS subvolume support inside Bhyve vm From: Pavel Odintsov To: "freebsd-virtualization@freebsd.org" , Sergei Mamonov Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 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, 10 Mar 2016 19:56:54 -0000 Hello, Dear Community! I would like to ask about plans for this storage engine approach. I like ZFS so much and we are storing about half petabyte of data here. But when we are speaking about vm's we should use zvols or even raw file based images and they are discarding all ZFS benefits. We have tons of vm's per server with another virtualization engines (up to 500 with openvz and up to 150 with kvm). But filesystems and storage system become bottleneck here. With our estimations smart file based COW could reduce required amount of storage up to 30%: http://www.stableit.ru/2015/07/effectiveness-of-zfs-usage-for-openvz.html?m=1 Actually, we have only single stable and open source filesystem with cow in mind and we definitely coukd offer this killer feature to virtualization world which lacks something like this. As we have support for ZFS on almost all platforms (I'm speaking about Linux and FreeBSD) we could run ZFS subvolumes inside vm's without so much pain. So this approach looks very promising and I would like to talk about it ;) -- Sincerely yours, Pavel Odintsov From owner-freebsd-virtualization@freebsd.org Thu Mar 10 22:09:42 2016 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 6E5C6ACB5DC for ; Thu, 10 Mar 2016 22:09:42 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 3316366D for ; Thu, 10 Mar 2016 22:09:41 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id CC14320A40E8 for ; Fri, 11 Mar 2016 08:09:33 +1000 (AEST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id C2EFF280502 for ; Fri, 11 Mar 2016 08:09:33 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 0M6IevCDbEnI for ; Fri, 11 Mar 2016 08:09:33 +1000 (AEST) Received: from Peters-MacBook-Pro.local (unknown [96.82.80.65]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id D0F312804D9; Fri, 11 Mar 2016 08:09:30 +1000 (AEST) Subject: Re: ZFS subvolume support inside Bhyve vm To: Pavel Odintsov References: Cc: "freebsd-virtualization@freebsd.org" , Sergei Mamonov From: Peter Grehan Message-ID: <56E1F098.7050501@freebsd.org> Date: Thu, 10 Mar 2016 14:09:28 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=V/zdqbTi c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=mwgbnDbW7alINpy3vhoKyg==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=N659UExz7-8A:10 a=7OsogOcEt9IA:10 a=qaclVWDo456JVqSDIMsA:9 a=pILNOxqGKmIA:10 a=Yi7IXp-v0wUA:10 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 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, 10 Mar 2016 22:09:42 -0000 > As we have support for ZFS on almost all platforms (I'm speaking about > Linux and FreeBSD) we could run ZFS subvolumes inside vm's without so much > pain. > > So this approach looks very promising and I would like to talk about it ;) To be clear on this: do you mean something like ZFS DMU passthru to a guest ? There's already host filesystem access to bhyve with NFS, and the p9fs patch. later, Peter. From owner-freebsd-virtualization@freebsd.org Thu Mar 10 22:24:54 2016 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 2F7EAACBB3F for ; Thu, 10 Mar 2016 22:24:54 +0000 (UTC) (envelope-from pavel.odintsov@gmail.com) Received: from mail-ig0-x22b.google.com (mail-ig0-x22b.google.com [IPv6:2607:f8b0:4001:c05::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 E2D08D75; Thu, 10 Mar 2016 22:24:53 +0000 (UTC) (envelope-from pavel.odintsov@gmail.com) Received: by mail-ig0-x22b.google.com with SMTP id av4so4595226igc.1; Thu, 10 Mar 2016 14:24:53 -0800 (PST) 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; bh=YgDYvW+5Oce/iCH5xFYQS5WFjA1o8VhmHhbSruwfHwo=; b=Db41ZC2tSH69IXkydGnYYwsNcinRu67tniz5mifQ8cZjrM21AUCNPwV6ZbbFGsqx49 5fCb8IkPBM8TMN8vQJ+b3pW4dEuBMtwtYIh9l2unPy0XNC5BqcbDMy5AZ9E1i3XfayzL W/NQ/voJYBbaPmCr2kQhWAjRxZwqQw5GQcmAGmfp9uWBjJ9o9uH0vVDiLgWmRbkv62cF 2LlAn8Fm/KmF9ioYZ9Moruw5OHr5Zju68RRrBxvZqZHXfT2letyhsqaZPr73T7MdHSoP S9U0Z7MZi0sQF7UCZ0HxJq0CsORtkOdR8VJDJAxRUpqEUV1e23l6S6ZgY4ZA1KNdzyGW tnZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=YgDYvW+5Oce/iCH5xFYQS5WFjA1o8VhmHhbSruwfHwo=; b=dB047+N1TiG9Oo0/2mCmHGbgmUKfYpUsNBVRmE68U11RqsnY+GDPO51Lm+66rNHoNN j+rWCapRZ7yQHeKqYvGs/VCaqqo6xIb4kZYkt4zWIMMgSWBl7zBdTJkeH6TBem6D4zDB QS0k2oJm5d8cTyd42SJ0aJMOf9M3NLoDHbFNxYd4tUUFYOi5OJnkrfmYFsuGnt/h4vtT kzXdYYuzvzhBVSebXlmYx0E+L6KF/GmbiVFG9kXan5sgXWWsmhUC257nfzIBsu6ufgWG hMsYC/sH5TJ1+RnSjT6qTP2DUrAaio5Owyly1RYbtrAdOBI7831c+p85wzFqrwjiLPDf kEkQ== X-Gm-Message-State: AD7BkJKUhfK0Jr34lccxkkB+Nk7xx5JRIg23KPTDmxuuXhK9KNgxd3CCaP67UXkMxTY6xERqmThV/rc7i6tdcA== MIME-Version: 1.0 X-Received: by 10.50.132.68 with SMTP id os4mr759399igb.91.1457648693097; Thu, 10 Mar 2016 14:24:53 -0800 (PST) Received: by 10.79.36.134 with HTTP; Thu, 10 Mar 2016 14:24:53 -0800 (PST) In-Reply-To: <56E1F098.7050501@freebsd.org> References: <56E1F098.7050501@freebsd.org> Date: Fri, 11 Mar 2016 01:24:53 +0300 Message-ID: Subject: Re: ZFS subvolume support inside Bhyve vm From: Pavel Odintsov To: Peter Grehan Cc: "freebsd-virtualization@freebsd.org" , Sergei Mamonov Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 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, 10 Mar 2016 22:24:54 -0000 Hello! Songs interesting! But I could not find any information regarding p9fs state in FreeBSD and their protocol overhead. Coukd you aim me to more details? Thanks! On Friday, 11 March 2016, Peter Grehan wrote: > As we have support for ZFS on almost all platforms (I'm speaking about >> Linux and FreeBSD) we could run ZFS subvolumes inside vm's without so much >> pain. >> >> So this approach looks very promising and I would like to talk about it ;) >> > > To be clear on this: do you mean something like ZFS DMU passthru to a > guest ? There's already host filesystem access to bhyve with NFS, and the > p9fs patch. > > later, > > Peter. > > -- Sincerely yours, Pavel Odintsov From owner-freebsd-virtualization@freebsd.org Thu Mar 10 22:30:14 2016 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 01DD6ACBCB9 for ; Thu, 10 Mar 2016 22:30:14 +0000 (UTC) (envelope-from trentnthompson@gmail.com) Received: from mail-yw0-x230.google.com (mail-yw0-x230.google.com [IPv6:2607:f8b0:4002:c05::230]) (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 B6733E76 for ; Thu, 10 Mar 2016 22:30:13 +0000 (UTC) (envelope-from trentnthompson@gmail.com) Received: by mail-yw0-x230.google.com with SMTP id g3so79964268ywa.3 for ; Thu, 10 Mar 2016 14:30:13 -0800 (PST) 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; bh=QPejfn7nqCPIiPoJG25d1AXqqfHsvpbSoYIWL58PjNU=; b=jCCfmeA7fk6pjeEPx/Y9dFrmi+g/baLQM5SB5xo/0vGA13s0U8pvWD4DLJ9q4+XSlj yQ9TkVhmqletyJLOu2TVCyt1LTtPDYlKcApnDriVDS+zYogVWgJfXTuSU7Zr5wGu/nHo TCtQBC8KLEmrXd4pnWIrCjGuvtV4TJ0V0j94YYTf0w0tHfGSt45JKyz/u71YqiB7dcbY Oav6f3mEd8GjLuZxqRsokPRbtHDqzDbQnY3Q50RgA0oK7TMj573GZV1KkGmCj2Rx91QF juZEl9Amyq5OppOC5vGsOOoxbqsBnWQQzZA1Ri0HxZxKkKPuXn8b9MIfBhphOuI1lB5S y/Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=QPejfn7nqCPIiPoJG25d1AXqqfHsvpbSoYIWL58PjNU=; b=M6t/uHB9uXww/VGHPKFgl7A6SfpHIemPIMj41iDjyantsWkK3nOIwglUkYH5vXPaEu VCm5aujNgj0H+DfwOT7IOnKqSWiKC3pU32bZa1DFd8Ipd8kXH20lENvucoWT9HMN4ybY Z7ymQOgnmhsDHMDrz6ga8RnlB99TpF7r2rHGu8vOkWun7JxKbaEF7KGYrEZ21A86LK/6 hFfnviPLf8uXhKLzR5tDekGGGU54nxBB2Pm5q5Bo3dc7ucyszHLASxA3GSziL9VQRqI/ Ywtsd7kTt2bjV87/F5EmjNU8OF7GIlNWVVk24PO4F9Su2Qim9NH2hSzafKz5eab/K82S pTmg== X-Gm-Message-State: AD7BkJKZZObjEQbP8Y1im4cAMZvc/S/mEA7nF1PipW63H9lXZHT3jx3CSfOdFa/kJvhFyysuV5moz1XoC1P/cw== MIME-Version: 1.0 X-Received: by 10.13.251.135 with SMTP id l129mr3299007ywf.283.1457649012817; Thu, 10 Mar 2016 14:30:12 -0800 (PST) Received: by 10.37.209.194 with HTTP; Thu, 10 Mar 2016 14:30:12 -0800 (PST) In-Reply-To: References: <56E1F098.7050501@freebsd.org> Date: Thu, 10 Mar 2016 15:30:12 -0700 Message-ID: Subject: Re: ZFS subvolume support inside Bhyve vm From: Trent Thompson To: Pavel Odintsov Cc: "freebsd-virtualization@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 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, 10 Mar 2016 22:30:14 -0000 >Coukd you aim me to more details? I believe Jakub was working on this. https://lists.freebsd.org/pipermail/freebsd-virtualization/2016-February/004102.html Here's the GitHub Branch: https://github.com/jceel/freebsd/tree/virtfs Here's the diff: https://github.com/freebsd/freebsd/compare/master...jceel:virtfs -Trent From owner-freebsd-virtualization@freebsd.org Thu Mar 10 22:31:06 2016 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 7B323ACBD03 for ; Thu, 10 Mar 2016 22:31:06 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (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 3B3DFF10; Thu, 10 Mar 2016 22:31:05 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 4E128284AF; Thu, 10 Mar 2016 23:30:57 +0100 (CET) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 3441D2849D; Thu, 10 Mar 2016 23:30:56 +0100 (CET) Message-ID: <56E1F59F.8020003@quip.cz> Date: Thu, 10 Mar 2016 23:30:55 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32 MIME-Version: 1.0 To: Pavel Odintsov , Peter Grehan CC: "freebsd-virtualization@freebsd.org" , Sergei Mamonov Subject: Re: ZFS subvolume support inside Bhyve vm References: <56E1F098.7050501@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 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, 10 Mar 2016 22:31:06 -0000 Pavel Odintsov wrote on 03/10/2016 23:24: > Hello! > > Songs interesting! But I could not find any information regarding p9fs > state in FreeBSD and their protocol overhead. > > Coukd you aim me to more details? You can find something at https://github.com/wca/p9fs > On Friday, 11 March 2016, Peter Grehan wrote: [...] >> To be clear on this: do you mean something like ZFS DMU passthru to a >> guest ? There's already host filesystem access to bhyve with NFS, and the >> p9fs patch. From owner-freebsd-virtualization@freebsd.org Thu Mar 10 23:13:11 2016 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 85097ACAEA3 for ; Thu, 10 Mar 2016 23:13:11 +0000 (UTC) (envelope-from jceel@FreeBSD.org) Received: from mail1.uj.edu.pl (mail1.uj.edu.pl [149.156.89.193]) by mx1.freebsd.org (Postfix) with ESMTP id 404838C6; Thu, 10 Mar 2016 23:13:10 +0000 (UTC) (envelope-from jceel@FreeBSD.org) MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Received: from [192.168.0.2] ([89.79.116.100]) by mta.uoks.uj.edu.pl (Oracle Communications Messaging Server 7u4-27.01 (7.0.4.27.0) 64bit (built Aug 30 2012)) with ESMTPSA id <0O3U0003AJ5VI620@mta.uoks.uj.edu.pl>; Fri, 11 Mar 2016 00:13:09 +0100 (CET) Subject: Re: ZFS subvolume support inside Bhyve vm From: Jakub Klama In-reply-to: <56E1F59F.8020003@quip.cz> Date: Fri, 11 Mar 2016 00:13:07 +0100 Cc: Pavel Odintsov , Peter Grehan , "freebsd-virtualization@freebsd.org" , Sergei Mamonov Content-transfer-encoding: quoted-printable Message-id: <273FC3E1-43EA-45B9-A5E7-266CE49A09DD@FreeBSD.org> References: <56E1F098.7050501@freebsd.org> <56E1F59F.8020003@quip.cz> To: Miroslav Lachman <000.fbsd@quip.cz> X-Mailer: Apple Mail (2.3094) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.98.6 at clamav1 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 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, 10 Mar 2016 23:13:11 -0000 > Wiadomo=C5=9B=C4=87 napisana przez Miroslav Lachman <000.fbsd@quip.cz> = w dniu 10.03.2016, o godz. 23:30: >=20 > Pavel Odintsov wrote on 03/10/2016 23:24: >> Hello! >>=20 >> Songs interesting! But I could not find any information regarding = p9fs >> state in FreeBSD and their protocol overhead. >>=20 >> Coukd you aim me to more details? >=20 > You can find something at https://github.com/wca/p9fs Wow, that's a nice find! It should be pretty easy to teach it speak virtio transport :) I've = already started kernel client implementation from scratch, but since that one is in = definitely better shape than mine mostly nonexistent code, I'll look if I could make it = work with virtio easily. Jakub= From owner-freebsd-virtualization@freebsd.org Thu Mar 10 23:37:16 2016 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 A437AACB65F for ; Thu, 10 Mar 2016 23:37:16 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (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 620112A5; Thu, 10 Mar 2016 23:37:15 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 47A912847A; Fri, 11 Mar 2016 00:37:11 +0100 (CET) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id F168828430; Fri, 11 Mar 2016 00:37:09 +0100 (CET) Message-ID: <56E20525.3020508@quip.cz> Date: Fri, 11 Mar 2016 00:37:09 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32 MIME-Version: 1.0 To: Jakub Klama CC: "freebsd-virtualization@freebsd.org" Subject: Re: ZFS subvolume support inside Bhyve vm References: <56E1F098.7050501@freebsd.org> <56E1F59F.8020003@quip.cz> <273FC3E1-43EA-45B9-A5E7-266CE49A09DD@FreeBSD.org> In-Reply-To: <273FC3E1-43EA-45B9-A5E7-266CE49A09DD@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 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, 10 Mar 2016 23:37:16 -0000 Jakub Klama wrote on 03/11/2016 00:13: > >> Wiadomość napisana przez Miroslav Lachman <000.fbsd@quip.cz> w dniu 10.03.2016, o godz. 23:30: >> >> Pavel Odintsov wrote on 03/10/2016 23:24: >>> Hello! >>> >>> Songs interesting! But I could not find any information regarding p9fs >>> state in FreeBSD and their protocol overhead. >>> >>> Coukd you aim me to more details? >> >> You can find something at https://github.com/wca/p9fs > > Wow, that's a nice find! > > It should be pretty easy to teach it speak virtio transport :) I've already started > kernel client implementation from scratch, but since that one is in definitely better > shape than mine mostly nonexistent code, I'll look if I could make it work with virtio > easily. I am looking forward to seeing the fruits of your work. I hope it will be soon. :) Miroslav Lachman From owner-freebsd-virtualization@freebsd.org Thu Mar 10 23:45:08 2016 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 DF8C5ACBA24 for ; Thu, 10 Mar 2016 23:45:07 +0000 (UTC) (envelope-from paul@redbarn.org) Received: from family.redbarn.org (family.redbarn.org [IPv6:2001:559:8000:cd::5]) (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 C31BAC25 for ; Thu, 10 Mar 2016 23:45:07 +0000 (UTC) (envelope-from paul@redbarn.org) Received: from [IPv6:2601:646:c202:2900:f531:9e2:359c:c065] (unknown [IPv6:2601:646:c202:2900:f531:9e2:359c:c065]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by family.redbarn.org (Postfix) with ESMTPSA id DB4AB18208; Thu, 10 Mar 2016 23:45:06 +0000 (UTC) Message-ID: <56E206FE.3080000@redbarn.org> Date: Thu, 10 Mar 2016 15:45:02 -0800 From: Paul Vixie User-Agent: Postbox 4.0.8 (Windows/20151105) MIME-Version: 1.0 To: Pavel Odintsov CC: "freebsd-virtualization@freebsd.org" , Sergei Mamonov Subject: Re: ZFS subvolume support inside Bhyve vm References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 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, 10 Mar 2016 23:45:08 -0000 Pavel Odintsov wrote: > Hello, Dear Community! > > I would like to ask about plans for this storage engine approach. I like > ZFS so much and we are storing about half petabyte of data here. > > But when we are speaking about vm's we should use zvols or even raw file > based images and they are discarding all ZFS benefits. i use zvols for my bhyves and they have two of the most important zfs advantages: 1. snapshots. > root@mm1:/home/vixie # zfs list|grep fam > zroot1/vms/family 55.7G 3.84T 5.34G - > root@mm1:/home/vixie # zfs snap zroot1/vms/family@before > > [family.redbarn:amd64] touch /var/tmp/after > > root@mm1:/home/vixie # zfs snap zroot1/vms/family@after > root@mm1:/home/vixie # mkdir /mnt/before /mnt/after > root@mm1:/home/vixie # zfs clone zroot1/vms/family@before zroot1/before > root@mm1:/home/vixie # fsck_ffs -p /dev/zvol/zroot1/beforep2 > ... > /dev/zvol/zroot1/beforep2: 264283 files, 1118905 used, 11575625 free (28697 frags, 1443366 blocks, 0.2% fragmentation) > root@mm1:/home/vixie # mount -r /dev/zvol/zroot1/beforep2 /mnt/before > root@mm1:/home/vixie # mount -r /dev/zvol/zroot1/beforep2 /mnt/before > > root@mm1:/home/vixie # zfs clone zroot1/vms/family@after zroot1/after > root@mm1:/home/vixie # fsck_ffs -p /dev/zvol/zroot1/afterp2 > ... > /dev/zvol/zroot1/afterp2: 264284 files, 1118905 used, 11575625 free (28697 frags, 1443366 blocks, 0.2% fragmentation) > root@mm1:/home/vixie # mount -r /dev/zvol/zroot1/afterp2 /mnt/after > > root@mm1:/home/vixie # ls -l /mnt/{before,after}/var/tmp/after > ls: /mnt/before/var/tmp/after: No such file or directory > -rw-rw-r-- 1 vixie wheel 0 Mar 10 22:52 /mnt/after/var/tmp/after 2. storage redundancy, read caching, and write caching: > root@mm1:/home/vixie # zpool status | tr -d '\t' > pool: zroot1 > state: ONLINE > scan: scrub repaired 0 in 2h24m with 0 errors on Thu Mar 10 12:24:13 2016 > config: > > NAME STATE READ WRITE CKSUM > zroot1 ONLINE 0 0 0 > mirror-0 ONLINE 0 0 0 > gptid/2427e651-d9cc-11e3-b8a1-002590ea750a ONLINE 0 0 0 > gptid/250b0f01-d9cc-11e3-b8a1-002590ea750a ONLINE 0 0 0 > mirror-1 ONLINE 0 0 0 > gptid/d35bb315-da08-11e3-b17f-002590ea750a ONLINE 0 0 0 > gptid/d85ad8be-da08-11e3-b17f-002590ea750a ONLINE 0 0 0 > logs > mirror-2 ONLINE 0 0 0 > ada0s1 ONLINE 0 0 0 > ada1s1 ONLINE 0 0 0 > cache > ada0s2 ONLINE 0 0 0 > ada1s2 ONLINE 0 0 0 > > errors: No known data errors so while i'd love to chroot a bhyve driver to some place in the middle of the host's file system and then pass VFS right on through, more or less the way mount_nullfs does, i am pretty comfortable with zvol UFS, and i think it's misleading to say that zvol UFS lacks all ZFS benefits. -- P Vixie From owner-freebsd-virtualization@freebsd.org Fri Mar 11 00:15:58 2016 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 BAB52ACC6D8 for ; Fri, 11 Mar 2016 00:15:58 +0000 (UTC) (envelope-from mrqwer88@gmail.com) Received: from mail-yw0-x22c.google.com (mail-yw0-x22c.google.com [IPv6:2607:f8b0:4002:c05::22c]) (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 7A78B1054 for ; Fri, 11 Mar 2016 00:15:58 +0000 (UTC) (envelope-from mrqwer88@gmail.com) Received: by mail-yw0-x22c.google.com with SMTP id g127so81670809ywf.2 for ; Thu, 10 Mar 2016 16:15:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ad50S5APsU14kgKMG7HILRucM/Ib7HljM3hifWHlRyo=; b=Rwoz+gWANMO79243NvU9QA2MO+ryix1T02SlnX64SCgedgM6Qh+H0wocA1nevnp9w1 tXUPuLvPC24iFyLqd8Gt+lH2qIQ2IeVm/oGFMxwSXvqR0GlYIHCk0LmM2GOOY1NAA8rk zaBo9NxojsNz3Mn/lrhvI/6a6xvv7e2khWk6OuAtK3QQK/f7lbnXAE2xSnq9mYTLz+3b tO3Fua7x0HI2sSGfXL4kfWNOM8vRmzT3+obJA/q+Iv7dzZQuoj3vIPlW/VrKFJQEWS52 1a3e3f9Hg5AgMLU8WA3QWHE6pCTHzXLpBSOrR776Ic/TVuinyoCEH5MFun9NPLAzH3eK j2XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ad50S5APsU14kgKMG7HILRucM/Ib7HljM3hifWHlRyo=; b=km0vGvvuRWXdHn0C7DnX40p7TAMlhK4TmZ+I2nFO0ZEujzo94VqK8kNBPnz9Y8zBjE k5TA2B42BrRItO4jj7yaMNv+8Kybhr7a5kYcvIr3UN0pTaxzi7EJmpprPCWmXQlmXehe s8OkrjWA0sgQaNYZWQYsidxXj8fIhsNip8YtL69LesbN+HUjLInNx+Vs/oWoV3wFcO59 aid/U166CQrLEJmAWK+PTuTj9WMSrw0TfL1rGM3j02XfZLu81ZuWUaz/90UQR0Tc34UI dISRKGZYr7EWwZqvs+F72br4prLcRH1tdyY8M84G40LLc41+aFrS4mzXLIb/QWO/dg99 KiiA== X-Gm-Message-State: AD7BkJIf252RFJYh9euH1TqboUuagMqm8eBvf95aZiCCsj2k4u9aR8OrtT5Qlr3g5OvwApkB+cYq7ZgSL/fsvw== X-Received: by 10.129.27.9 with SMTP id b9mr3553220ywb.173.1457655357418; Thu, 10 Mar 2016 16:15:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.77.194 with HTTP; Thu, 10 Mar 2016 16:15:37 -0800 (PST) In-Reply-To: <56E206FE.3080000@redbarn.org> References: <56E206FE.3080000@redbarn.org> From: =?UTF-8?B?0KHQtdGA0LPQtdC5INCc0LDQvNC+0L3QvtCy?= Date: Fri, 11 Mar 2016 03:15:37 +0300 Message-ID: Subject: Re: ZFS subvolume support inside Bhyve vm To: Paul Vixie Cc: Pavel Odintsov , "freebsd-virtualization@freebsd.org" , Sergei Mamonov Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 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: Fri, 11 Mar 2016 00:15:58 -0000 Hello! Yes - zvols looks awesome. But what driver you use for it? And what about disk usage overhead in guest? virtio-blk doesnt support fstrim (ahci-hd support it, but slower? "*At this point virtio-blk is indeed faster then ahci-hd on high IOPS*"). In linux && kvm we try used virtio-scsi driver with support fstrim, but how I see it not availble now in 10-2 stable for bhyve. And I not lonely with this question - https://lists.freebsd.org/pipermail/freebsd-virtualization/2015-March/003442.html 2016-03-11 2:45 GMT+03:00 Paul Vixie : > > > Pavel Odintsov wrote: > >> Hello, Dear Community! >> >> I would like to ask about plans for this storage engine approach. I like >> ZFS so much and we are storing about half petabyte of data here. >> >> But when we are speaking about vm's we should use zvols or even raw file >> based images and they are discarding all ZFS benefits. >> > > i use zvols for my bhyves and they have two of the most important zfs > advantages: > > 1. snapshots. > > root@mm1:/home/vixie # zfs list|grep fam >> zroot1/vms/family 55.7G 3.84T 5.34G - >> root@mm1:/home/vixie # zfs snap zroot1/vms/family@before >> >> [family.redbarn:amd64] touch /var/tmp/after >> >> root@mm1:/home/vixie # zfs snap zroot1/vms/family@after >> root@mm1:/home/vixie # mkdir /mnt/before /mnt/after >> root@mm1:/home/vixie # zfs clone zroot1/vms/family@before zroot1/before >> root@mm1:/home/vixie # fsck_ffs -p /dev/zvol/zroot1/beforep2 >> ... >> /dev/zvol/zroot1/beforep2: 264283 files, 1118905 used, 11575625 free >> (28697 frags, 1443366 blocks, 0.2% fragmentation) >> root@mm1:/home/vixie # mount -r /dev/zvol/zroot1/beforep2 /mnt/before >> root@mm1:/home/vixie # mount -r /dev/zvol/zroot1/beforep2 /mnt/before >> >> root@mm1:/home/vixie # zfs clone zroot1/vms/family@after zroot1/after >> root@mm1:/home/vixie # fsck_ffs -p /dev/zvol/zroot1/afterp2 >> ... >> /dev/zvol/zroot1/afterp2: 264284 files, 1118905 used, 11575625 free >> (28697 frags, 1443366 blocks, 0.2% fragmentation) >> root@mm1:/home/vixie # mount -r /dev/zvol/zroot1/afterp2 /mnt/after >> >> root@mm1:/home/vixie # ls -l /mnt/{before,after}/var/tmp/after >> ls: /mnt/before/var/tmp/after: No such file or directory >> -rw-rw-r-- 1 vixie wheel 0 Mar 10 22:52 /mnt/after/var/tmp/after >> > > 2. storage redundancy, read caching, and write caching: > > root@mm1:/home/vixie # zpool status | tr -d '\t' >> pool: zroot1 >> state: ONLINE >> scan: scrub repaired 0 in 2h24m with 0 errors on Thu Mar 10 12:24:13 >> 2016 >> config: >> >> NAME STATE READ WRITE CKSUM >> zroot1 ONLINE 0 0 0 >> mirror-0 ONLINE 0 0 0 >> gptid/2427e651-d9cc-11e3-b8a1-002590ea750a ONLINE 0 0 0 >> gptid/250b0f01-d9cc-11e3-b8a1-002590ea750a ONLINE 0 0 0 >> mirror-1 ONLINE 0 0 0 >> gptid/d35bb315-da08-11e3-b17f-002590ea750a ONLINE 0 0 0 >> gptid/d85ad8be-da08-11e3-b17f-002590ea750a ONLINE 0 0 0 >> logs >> mirror-2 ONLINE 0 0 0 >> ada0s1 ONLINE 0 0 0 >> ada1s1 ONLINE 0 0 0 >> cache >> ada0s2 ONLINE 0 0 0 >> ada1s2 ONLINE 0 0 0 >> >> errors: No known data errors >> > > so while i'd love to chroot a bhyve driver to some place in the middle of > the host's file system and then pass VFS right on through, more or less the > way mount_nullfs does, i am pretty comfortable with zvol UFS, and i think > it's misleading to say that zvol UFS lacks all ZFS benefits. > > -- > P Vixie > > _______________________________________________ > 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" > From owner-freebsd-virtualization@freebsd.org Fri Mar 11 00:32:02 2016 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 56194ACCBC0 for ; Fri, 11 Mar 2016 00:32:02 +0000 (UTC) (envelope-from paul@redbarn.org) Received: from family.redbarn.org (family.redbarn.org [IPv6:2001:559:8000:cd::5]) (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 45B9819FC for ; Fri, 11 Mar 2016 00:32:02 +0000 (UTC) (envelope-from paul@redbarn.org) Received: from [IPv6:2601:646:c202:2900:f531:9e2:359c:c065] (unknown [IPv6:2601:646:c202:2900:f531:9e2:359c:c065]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by family.redbarn.org (Postfix) with ESMTPSA id 8DFFD1CC4E; Fri, 11 Mar 2016 00:32:01 +0000 (UTC) Message-ID: <56E211FE.2060700@redbarn.org> Date: Thu, 10 Mar 2016 16:31:58 -0800 From: Paul Vixie User-Agent: Postbox 4.0.8 (Windows/20151105) MIME-Version: 1.0 To: =?UTF-8?B?0KHQtdGA0LPQtdC5INCc0LDQvNC+0L3QvtCy?= CC: Pavel Odintsov , "freebsd-virtualization@freebsd.org" , Sergei Mamonov Subject: Re: ZFS subvolume support inside Bhyve vm References: <56E206FE.3080000@redbarn.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 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: Fri, 11 Mar 2016 00:32:02 -0000 Сергей Мамонов wrote: > Hello! > > Yes - zvols looks awesome. But what driver you use for it? virtio-blk. > And what > about disk usage overhead in guest? ufs on zvol is faster, either in the parent or a bhyve using virtio-blk, than zfs. at least for writing, which is my dominant work load. i expect that this is due to zfs's compression logic rather than anything having to do with creating/extending files to accommodate writes. > virtio-blk doesnt support fstrim (ahci-hd support it, but slower? "/At > this point virtio-blk is indeed faster then ahci-hd on high IOPS/"). > In linux && kvm we try used virtio-scsi driver with support fstrim, but > how I see it not availble now in 10-2 stable for bhyve. > And I not lonely with this question - > https://lists.freebsd.org/pipermail/freebsd-virtualization/2015-March/003442.html i'm just going to live without fstrim until it's supported in virtio-blk. i know that this option isn't available to everybody, but at the moment storage is cheap enough to waste. -- P Vixie From owner-freebsd-virtualization@freebsd.org Fri Mar 11 01:24:40 2016 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 608E8ACAD43 for ; Fri, 11 Mar 2016 01:24:40 +0000 (UTC) (envelope-from ronald@taufilms.com) Received: from homiemail-a60.g.dreamhost.com (homie.mail.dreamhost.com [208.97.132.208]) by mx1.freebsd.org (Postfix) with ESMTP id 4E9771BA for ; Fri, 11 Mar 2016 01:24:38 +0000 (UTC) (envelope-from ronald@taufilms.com) Received: from homiemail-a60.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a60.g.dreamhost.com (Postfix) with ESMTP id 0CB973BC06A for ; Thu, 10 Mar 2016 17:24:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=taufilms.com; h=to:from :subject:message-id:date:mime-version:content-type: content-transfer-encoding; s=taufilms.com; bh=Nfs/oXiwd+QJm0oJ36 AkvQ+yamA=; b=LKbnxgLu030QSEsVac0DNBKJAaSsHzSbWeKo5GQXjysHjTfzVg 5u64sSoF5E6BNPHWLJqW8uo9IZV+XilADK+v2xnyXC+g+ag2sFsjT7PV3Ody+dLY 3xujF+jBZ1NeT7n3qLmLZUcZAaE3HdfI2N3SG/Z3snlMgAnYy78LIFQi0= Received: from [192.168.44.187] (unknown [113.210.55.146]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ronald@taufilms.com) by homiemail-a60.g.dreamhost.com (Postfix) with ESMTPSA id 99C5D3BC059 for ; Thu, 10 Mar 2016 17:24:36 -0800 (PST) To: freebsd-virtualization@freebsd.org From: Ronald Khoo Subject: bhyve: is SIGTERM ACPI shutdown supported on linux guests? Message-ID: <56E21E54.5060601@taufilms.com> Date: Fri, 11 Mar 2016 09:24:36 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 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: Fri, 11 Mar 2016 01:24:40 -0000 Hi, I'm on 10.2-RELEASE. sending SIGTERM to a FreeBSD guest bhyve shuts it down as expected, but my CentOS 6 guest does nothing. Is this expected to work? thanks ronald From owner-freebsd-virtualization@freebsd.org Fri Mar 11 01:31:08 2016 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 CD452ACAF4B for ; Fri, 11 Mar 2016 01:31:08 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 92453663 for ; Fri, 11 Mar 2016 01:31:08 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id BC68720B4B55 for ; Fri, 11 Mar 2016 11:31:05 +1000 (AEST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id B524B2804EA for ; Fri, 11 Mar 2016 11:31:05 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id e-fFEgnyDQey for ; Fri, 11 Mar 2016 11:31:05 +1000 (AEST) Received: from Peters-MacBook-Pro.local (mobile-166-171-248-028.mycingular.net [166.171.248.28]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id AF2682804DA; Fri, 11 Mar 2016 11:31:02 +1000 (AEST) Subject: Re: bhyve: is SIGTERM ACPI shutdown supported on linux guests? To: Ronald Khoo References: <56E21E54.5060601@taufilms.com> Cc: freebsd-virtualization@freebsd.org From: Peter Grehan Message-ID: <56E21FD0.8090708@freebsd.org> Date: Thu, 10 Mar 2016 17:30:56 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <56E21E54.5060601@taufilms.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=V/zdqbTi c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=AMRrg3BdHfixxA2364uFDw==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=N659UExz7-8A:10 a=7OsogOcEt9IA:10 a=pLMtHL9swF4W56e_59MA:9 a=pILNOxqGKmIA:10 a=aOEPrd1YD2kA:10 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 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: Fri, 11 Mar 2016 01:31:08 -0000 > I'm on 10.2-RELEASE. sending SIGTERM to a FreeBSD guest bhyve shuts it > down as expected, but my CentOS 6 guest does nothing. > > Is this expected to work? It isn't enabled by default on centos6. You'll have to do something like this in your guest: yum -y install acpid chkconfig acpid on service acpid start later, Peter. From owner-freebsd-virtualization@freebsd.org Fri Mar 11 01:44:48 2016 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 727CBACB548 for ; Fri, 11 Mar 2016 01:44:48 +0000 (UTC) (envelope-from ronald@taufilms.com) Received: from homiemail-a9.g.dreamhost.com (homie.mail.dreamhost.com [208.97.132.208]) by mx1.freebsd.org (Postfix) with ESMTP id 5F993F7F; Fri, 11 Mar 2016 01:44:47 +0000 (UTC) (envelope-from ronald@taufilms.com) Received: from homiemail-a9.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a9.g.dreamhost.com (Postfix) with ESMTP id 506C85BE066; Thu, 10 Mar 2016 17:44:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=taufilms.com; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=taufilms.com; bh=zErL OWK/fCibqRgsfL7uosZPNIs=; b=VLmiequjQlWingtcMukBRZ4tIN6oCrny3XSn vCEc0AjtrII7eoL0P5Uel6xrchbL9vtMTKFI9OlVa6zCHfc7amotoRjE4s4fEO7p qIRrwg7+dfiU7oCt/AZLfyxiXyKm2xKFPLFh6MAlymbPeXQPMta9QureNquIEm4p RLOdBIE= Received: from [192.168.39.64] (unknown [60.51.78.227]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: ronald@taufilms.com) by homiemail-a9.g.dreamhost.com (Postfix) with ESMTPSA id A53D75BE064; Thu, 10 Mar 2016 17:44:46 -0800 (PST) Message-ID: <56E2230C.6080003@taufilms.com> Date: Fri, 11 Mar 2016 09:44:44 +0800 From: Ronald Khoo User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: Peter Grehan CC: freebsd-virtualization@freebsd.org Subject: Re: bhyve: is SIGTERM ACPI shutdown supported on linux guests? References: <56E21E54.5060601@taufilms.com> <56E21FD0.8090708@freebsd.org> In-Reply-To: <56E21FD0.8090708@freebsd.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 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: Fri, 11 Mar 2016 01:44:48 -0000 That did it. Thank you! ronald On 03/11/2016 09:30 AM, Peter Grehan wrote: >> I'm on 10.2-RELEASE. sending SIGTERM to a FreeBSD guest bhyve shuts it >> down as expected, but my CentOS 6 guest does nothing. >> >> Is this expected to work? > > It isn't enabled by default on centos6. You'll have to do something like this in your guest: > > yum -y install acpid > chkconfig acpid on > service acpid start > > later, > > Peter. From owner-freebsd-virtualization@freebsd.org Fri Mar 11 13:50:51 2016 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 7BC8EACC1A9 for ; Fri, 11 Mar 2016 13:50:51 +0000 (UTC) (envelope-from royger@gmail.com) Received: from mail-pa0-x230.google.com (mail-pa0-x230.google.com [IPv6:2607:f8b0:400e:c03::230]) (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 4D16BE89 for ; Fri, 11 Mar 2016 13:50:51 +0000 (UTC) (envelope-from royger@gmail.com) Received: by mail-pa0-x230.google.com with SMTP id td3so71722282pab.2 for ; Fri, 11 Mar 2016 05:50:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=VrGVNrJzG5m4qINDOhq+6TF37l40GBgde+Ee4JA4alY=; b=k1QeOlJ912TqqVVKKOR5VekuP5ALVp4en45+YmeB6cf9GVjrg56F7FNAkBpTq697QJ ZasCfdhsVpQzHWdmRccYP/y1jDfL/fdtq+HMOTs3ANxiJ/WWN2uTukP8QVatxHukSrY7 syG9JnJKl3avBS10fdZfXKwBvDOWrjhyj647JrrdlydK6IaMGS9NjdN+2mkA8w2EYNY9 txmE+1wSt/W1WYNrHdaFsh+AbYvD8ZRH3Ea6HWh/lYAMjceFoh3gTzBZW3r0gjEcFRDv v5ukBJyIV8B5qaXLXX/xCTdo6/PwxnSP13vJCITMpN7Vig2j/I28IEecc0DfOBzp/74c UdVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:in-reply-to :message-id:references:user-agent:mime-version; bh=VrGVNrJzG5m4qINDOhq+6TF37l40GBgde+Ee4JA4alY=; b=IE1Kl8DBI1DlZAuDS5MrZK+iUTZF/gY1fQbU5AU0og9ZzXJJ2nqcpGo/jLZjc3uz68 8bR0D+4Ibldi4C+B8KLkcaoGbKvHZoP4VOH3HAUGeRAd7cOfYYzNCqASwbo4EFTxYgrc 6XQk3qPXSEI8v1eBVTyJuy1CSpVxo7FMStIom55yip7MNl939dPHXRv/WjNYHazGzC79 4xS0deLy2y54cjibUAvTSWG4IrbtDYTecm+u0yxL9kn+0NwVvif63MoAzQ0SvzG7Vq2h eUcovkh5VB3Isj4Igg3PwoH68vWZboRb4zM54SUn3KrFbPq9l7tYNLOln/Wm/LAs/7fh xl+A== X-Gm-Message-State: AD7BkJJkwr+qKg1xnLCqoOtpa7sgfxiBZuWzAS3atfk5D6wWAOV6AmVze1sjmwIc1ZnniA== X-Received: by 10.66.190.131 with SMTP id gq3mr15427563pac.42.1457704250421; Fri, 11 Mar 2016 05:50:50 -0800 (PST) Received: from [192.168.1.68] (p142030-ipngn11501marunouchi.tokyo.ocn.ne.jp. [220.104.97.30]) by smtp.gmail.com with ESMTPSA id q4sm13219539pfi.75.2016.03.11.05.50.48 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 11 Mar 2016 05:50:49 -0800 (PST) Sender: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= Date: Fri, 11 Mar 2016 22:50:47 +0900 (JST) From: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= X-X-Sender: royger@macbook-air-de-roger.local To: brahmann cc: freebsd-virtualization@freebsd.org Subject: Re: ports/Xen on CURRENT, error: ELF start or entries are out of bounds. In-Reply-To: <56E14066.5080400@lifec0re.net> Message-ID: References: <56E14066.5080400@lifec0re.net> User-Agent: Alpine 2.20 (OSX 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 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: Fri, 11 Mar 2016 13:50:51 -0000 Hello, On Thu, 10 Mar 2016, brahmann wrote: > Hi all. > I'm trying to run XEN on latest current as dom0. > Did all by manual: http://wiki.xen.org/wiki/FreeBSD_Dom0 (except compiling > from git, cant compile tools, so just used ports xen/xen-tools/xen-kernel) > And stuck with such an error: Yes, using the ports (xen-kernel/xen-tools) is the recommended way, I should update the wiki page in order to note this. > --- > (XEN) elf_xen_addr_calc_check: ERROR: ELF start or entries are out of bounds. > Could not set up DOM0 guest OS > --- > > This only drops on console while xen kernel boots, all other strings are OK > according to manual. > Link to photo of speedy console log: http://imgur.com/a5b9CLE > If need details pls ask. I've just noticied this issue, it's probably due to an issue with kernel linking. It seems like the physical address specified in the ELF program headers is wrong. I'm currently trying to bisect it in order to find the commit that caused it, in the meantime I can confirm that r295683 and older revisions should work fine. Just to confirm, can you paste the output of the following command: $ readelf -l /boot/kernel/kernel With the non-working kernel? Thanks, Roger.