vmm: Add serial option to the disk config doc

Signed-off-by: Wojtek Czekalski <wczekalski@me.com>
This commit is contained in:
Wojtek Czekalski 2024-11-05 13:00:51 +01:00 committed by Rob Bradford
parent 5eaf510f90
commit 8acaeb5c82

View File

@ -1144,7 +1144,8 @@ impl DiskConfig {
bw_size=<bytes>,bw_one_time_burst=<bytes>,bw_refill_time=<ms>,\ bw_size=<bytes>,bw_one_time_burst=<bytes>,bw_refill_time=<ms>,\
ops_size=<io_ops>,ops_one_time_burst=<io_ops>,ops_refill_time=<ms>,\ ops_size=<io_ops>,ops_one_time_burst=<io_ops>,ops_refill_time=<ms>,\
id=<device_id>,pci_segment=<segment_id>,rate_limit_group=<group_id>,\ id=<device_id>,pci_segment=<segment_id>,rate_limit_group=<group_id>,\
queue_affinity=<list_of_queue_indices_with_their_associated_cpuset>"; queue_affinity=<list_of_queue_indices_with_their_associated_cpuset>,\
serial=<serial_number>";
pub fn parse(disk: &str) -> Result<Self> { pub fn parse(disk: &str) -> Result<Self> {
let mut parser = OptionParser::new(); let mut parser = OptionParser::new();