On 10/25/25 13:47, Roman Bogorodskiy wrote: > 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 <[email protected]> > --- > src/bhyve/bhyve_command.c | 4 +++ > src/bhyve/bhyve_domain.c | 6 ++++ > ...hyvexml2argv-disk-virtio-rotation-rate.xml | 23 ++++++++++++++ > .../bhyvexml2argv-sata-rotation-rate.args | 10 ++++++ > .../bhyvexml2argv-sata-rotation-rate.ldargs | 4 +++ > .../bhyvexml2argv-sata-rotation-rate.xml | 31 +++++++++++++++++++ > tests/bhyvexml2argvtest.c | 2 ++ > 7 files changed, 80 insertions(+) > create mode 100644 > tests/bhyvexml2argvdata/bhyvexml2argv-disk-virtio-rotation-rate.xml > create mode 100644 > tests/bhyvexml2argvdata/bhyvexml2argv-sata-rotation-rate.args > create mode 100644 > tests/bhyvexml2argvdata/bhyvexml2argv-sata-rotation-rate.ldargs > create mode 100644 > tests/bhyvexml2argvdata/bhyvexml2argv-sata-rotation-rate.xml
Reviewed-by: Michal Privoznik <[email protected]> Michal
