]> git.ipfire.org Git - thirdparty/libvirt.git/commit
bhyve: support specifying disk rotation rate
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Sat, 25 Oct 2025 11:47:15 +0000 (13:47 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 29 Oct 2025 10:45:42 +0000 (11:45 +0100)
commit93c4b1bf55843a5be34b6e1e328f97eb6258ca18
tree9babef014f065c98319630bcff780436c5428e7f
parent4d70b2c783ef20f0ae91b48ab075ee4ab1ed99b9
bhyve: support specifying disk rotation rate

Bhyve supports specifying disk rotation rate using the nmrr attribute,
e.g.:

 -s 3:0,ahci,hd:/data/img/freebsd.img,nmrr=1

Where 1 means the SSD, 0 (default) means do not report, and other values
specify the actual RPM.

Signed-off-by: Roman Bogorodskiy <bogorodskiy@gmail.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/bhyve/bhyve_command.c
src/bhyve/bhyve_domain.c
tests/bhyvexml2argvdata/bhyvexml2argv-disk-virtio-rotation-rate.xml [new file with mode: 0644]
tests/bhyvexml2argvdata/bhyvexml2argv-sata-rotation-rate.args [new file with mode: 0644]
tests/bhyvexml2argvdata/bhyvexml2argv-sata-rotation-rate.ldargs [new file with mode: 0644]
tests/bhyvexml2argvdata/bhyvexml2argv-sata-rotation-rate.xml [new file with mode: 0644]
tests/bhyvexml2argvtest.c