Re: Attaching block devices to a VM in bhyve

2015-01-13 Thread Jonathan Wong
Thanks. Last question. I also noticed that iSCSI targets are supported. I
might have missed it, but is there a link to documentation somewhere? (Does
one simply use the default portal for iSCSI? or how are portals
specified.)

Thanks,
Jon

On Tue, Jan 13, 2015 at 3:23 PM, Peter Grehan gre...@freebsd.org wrote:

 Hi Jon,

  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?


  Quite difficult as it stands with bhyve: there's currently no way to
 dynamically modify a running VM's configuration. This limitation will be
 removed at some point but not in the short term.

 later,

 Peter.


___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Re: Attaching block devices to a VM in bhyve

2015-01-13 Thread Craig Rodrigues
On Tue, Jan 13, 2015 at 5:05 PM, Jonathan Wong jon.the.w...@gmail.com
wrote:

 Thanks. Last question. I also noticed that iSCSI targets are supported. I
 might have missed it, but is there a link to documentation somewhere


iSCSI Initiator and Target Configuration:
https://www.freebsd.org/doc/handbook/network-iscsi.html

--
Craig
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Re: Attaching block devices to a VM in bhyve

2015-01-13 Thread Allan Jude
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@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
 To unsubscribe, send any mail to 
 freebsd-virtualization-unsubscr...@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



signature.asc
Description: OpenPGP digital signature


Re: Attaching block devices to a VM in bhyve

2015-01-13 Thread Jonathan Wong
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 allanj...@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@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
  To unsubscribe, send any mail to 
 freebsd-virtualization-unsubscr...@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


___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org


Re: Attaching block devices to a VM in bhyve

2015-01-13 Thread Peter Grehan

Hi Jon,


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?


 Quite difficult as it stands with bhyve: there's currently no way to 
dynamically modify a running VM's configuration. This limitation will be 
removed at some point but not in the short term.


later,

Peter.

___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
freebsd-virtualization-unsubscr...@freebsd.org