Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 2015 16:47:11 -0500
From:      Allan Jude <allanjude@freebsd.org>
To:        freebsd-virtualization@freebsd.org
Subject:   Re: Attaching block devices to a VM in bhyve
Message-ID:  <54B5925F.8010308@freebsd.org>
In-Reply-To: <CAO8hVirsEttWhoPTQwvx6oy054Mk8idhDgUSLcsAMnsbgNXSSw@mail.gmail.com>
References:  <CAO8hVirsEttWhoPTQwvx6oy054Mk8idhDgUSLcsAMnsbgNXSSw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54B5925F.8010308>