From owner-freebsd-virtualization@FreeBSD.ORG Tue Jan 13 21:47:03 2015 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B58DFD74 for ; Tue, 13 Jan 2015 21:47:03 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 8EC7F9B for ; Tue, 13 Jan 2015 21:47:03 +0000 (UTC) Received: from [192.168.1.2] (Seawolf.HML3.ScaleEngine.net [209.51.186.28]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id B28CC8EBF5 for ; Tue, 13 Jan 2015 21:47:01 +0000 (UTC) Message-ID: <54B5925F.8010308@freebsd.org> Date: Tue, 13 Jan 2015 16:47:11 -0500 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: Attaching block devices to a VM in bhyve References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OpENoO2lA96kAODoFkMqKcbonlsvb6ioF" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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, 13 Jan 2015 21:47:03 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --OpENoO2lA96kAODoFkMqKcbonlsvb6ioF Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015-01-13 16:45, Jonathan Wong wrote: > Hi. >=20 > I was looking around and it seems is possible to attach zvols to a bhyv= e > vm, at least according to the vmrc script. Is it possible to attach a b= lock > device to a VM after it has been launched? >=20 > Thanks, > Jon > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@fr= eebsd.org" >=20 You can attach a block device, just use the path to the device in the place of a filename, same way you do with a zvol. However, it is not currently possible to attach a block device after bhyve has started. --=20 Allan Jude --OpENoO2lA96kAODoFkMqKcbonlsvb6ioF 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) iQIcBAEBAgAGBQJUtZJiAAoJEJrBFpNRJZKfuU4P/jFyvi3s556b+jdazueUATS+ 010gVh3QzLDsQ6Qy0WNVvNu7jaAdpK+k8GkHC4V4UvleFu0YcpDx1Nqz39fUvzLj TsD8g3+n1RM/u6XTMGJgUpeXtC7NL9hbRxbgG7xx3LjnXXLETXhbx/EqyO+dwrck A5+YwEFjjWXrZH5VOVZ1LuHh2I8xG5oiGluq/2bG/2GLo0O2rNL6Y9m0kqOILvHR lg450PRrU3rEqF3raE97CMweHWQhepVDRkQLUWzQZ9vgsgfWtBzRcsWRwmjrDip+ d8yWMqEQXHmIp0nihFJTKUsqqEfp7fYzfOCFwY3g/AtsEV0x32PH0FdPWKaKZ2ph GJPAQ4+1ri2HkqiiDKWkiOnE0daBLLVGZhQB+sc3Nlog1BbZOFJO2Artxxfq38YO kqEezxGb+Z9Xx1dFmf1M92TD5bFe/MG+7IS6ITpxOsfb7OdMgtukyodZSiROP0RX jPhbNAAxWr5R/K4M7/ZbZSAXsSgCbxBKDYtN2IMDRIj6Re9hTW42iTaehxqlZvyw VFEBXuVPSd2PU0N7FwefNABH48MV4KhBwYmb+hNNf/Gud0GXyKnSwE9U4PoAeh5n Fhixe0s106xpPXAwIibfSe8ad+m8nSH4hiteJkDKmtmM66ZGLf4hr5x8hFXcacgF 8KI3RR+V3GEA/UrF3fod =RB1c -----END PGP SIGNATURE----- --OpENoO2lA96kAODoFkMqKcbonlsvb6ioF--