Use the ahci-hd device for disks. When bhyve boots, the disk devices
will be /dev/ada because they will be going through the SATA driver and CAM. This is how disks in other virtualization systems like
QEMU, VirtualBox, etc. appear.
Details
Details
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
I'd actually prefer that this remain as virtio-blk. Any decent virtualization system would prefer to use that over a h/w emulation (see Google Compute Engine, the VM configurations for Specvirt runs). Plus, having this for the disk device gets better coverage for bhyve at what I think is a negligible cost of not having the ATA-style disk name during installation.
If you have scripts that you would like to keep the same for all hypervisors, then perhaps a better way to solve this is an option to vmrun.sh that requests an AHCI emulation for the hard drive.