Attaching block devices to a VM in bhyve

Jonathan Wong jon.the.wong at gmail.com
Tue Jan 13 22:16:21 UTC 2015


Thanks. Do you think it would be a hard thing to add in to bhyve or is it
related to something that's already being worked on?

Thanks,
Jon
On Jan 13, 2015 1:47 PM, "Allan Jude" <allanjude at freebsd.org> wrote:

> 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
>
>


More information about the freebsd-virtualization mailing list