Attaching block devices to a VM in bhyve

Allan Jude allanjude at freebsd.org
Tue Jan 13 21:47:03 UTC 2015


On 2015-01-13 16:45, Jonathan Wong wrote:
> Hi.
> 
> I was looking around and it seems is possible to attach zvols to a bhyve
> vm, at least according to the vmrc script. Is it possible to attach a block
> device to a VM after it has been launched?
> 
> Thanks,
> Jon
> _______________________________________________
> freebsd-virtualization at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe at freebsd.org"
> 

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.

-- 
Allan Jude

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-virtualization/attachments/20150113/0de9f642/attachment.sig>


More information about the freebsd-virtualization mailing list