araujo
64730b7ec2
- Add bhyve virtio-scsi storage backend support.
Example of configuration:
ctl.conf:
portal-group pg0 {
discovery-auth-group no-authentication
listen 0.0.0.0
listen [::]
}
target iqn.2012-06.com.example:target0 {
auth-group no-authentication
portal-group pg0
port ioctl/5/3
lun 0 {
path /z/test.img
size 8G
}
lun 1 {
path /z/test1.img
size 8G
}
}
bhyve <...> -s 4,virtio-scsi,/dev/cam/ctl5.3,iid=3 <VM_NAME>
From inside guest:
root@:~ # zpool status test
pool: test
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
test ONLINE 0 0 0
da0 ONLINE 0 0 0
da1 ONLINE 0 0 0
dmesg:
da0 at vtscsi0 bus 0 scbus0 target 0 lun 0
da0: <FREEBSD CTLDISK 0001> Fixed Direct Access SPC-5 SCSI device
da0: Serial Number MYSERIAL0000
da0: 300.000MB/s transfers
da0: Command Queueing enabled
da0: 8192MB (16777216 512 byte sectors)
da1 at vtscsi0 bus 0 scbus0 target 0 lun 1
da1: <FREEBSD CTLDISK 0001> Fixed Direct Access SPC-5 SCSI device
da1: Serial Number MYSERIAL0001
da1: 300.000MB/s transfers
da1: Command Queueing enabled
da1: 8192MB (16777216 512 byte sectors)
Discussed with: grehan
Reviewed by: mav
Obtained from: TrueOS
Relnotes: Yes
Sponsored by: iXsystems Inc.
Tested with: FreeBSD HEAD, Fedora 28 (Workstation) and
Ubuntu 18.04.
Differential Revision: https://reviews.freebsd.org/D15276
2018-06-11 02:09:20 +00:00
..
2018-05-29 01:46:00 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2018-05-22 05:21:53 +00:00
2016-07-04 03:19:06 +00:00
2018-06-11 02:09:20 +00:00
2017-05-24 14:24:47 +00:00
2016-07-04 03:19:06 +00:00
2018-05-25 19:12:30 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2016-05-27 06:22:24 +00:00
2016-05-27 06:22:24 +00:00
2016-07-04 03:19:06 +00:00
2016-07-04 03:19:06 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2016-05-27 06:22:24 +00:00
2016-05-27 06:22:24 +00:00
2018-05-01 15:17:46 +00:00
2018-05-01 15:17:46 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2018-06-11 02:09:20 +00:00
2018-06-11 02:09:20 +00:00
2018-06-11 02:09:20 +00:00
2017-10-31 00:07:04 +00:00
2018-05-23 09:34:51 +00:00
2018-05-01 15:17:46 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2017-07-28 21:42:59 +00:00
2018-05-22 06:02:11 +00:00
2017-11-27 15:37:16 +00:00
2017-06-02 02:35:16 +00:00
2017-11-27 15:37:16 +00:00
2016-07-14 17:16:10 +00:00
2016-07-14 17:16:10 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2018-05-28 03:09:09 +00:00
2017-11-27 15:37:16 +00:00
2017-02-14 13:35:59 +00:00
2018-06-11 02:09:20 +00:00
2017-04-28 05:09:51 +00:00
2016-07-04 03:19:06 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2016-07-11 06:31:15 +00:00
2016-07-04 03:19:06 +00:00
2017-01-08 20:29:35 +00:00
2016-07-04 03:19:06 +00:00
2018-05-04 01:36:49 +00:00
2017-06-02 02:35:16 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2016-07-04 03:19:06 +00:00
2016-07-04 03:19:06 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2016-07-06 16:02:15 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2016-07-04 03:19:06 +00:00
2016-07-04 03:19:06 +00:00
2017-03-22 16:53:03 +00:00
2017-07-28 21:47:10 +00:00
2016-07-04 03:19:06 +00:00
2017-11-27 15:37:16 +00:00
2018-06-11 02:09:20 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00