mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
vmm: Add serial option to the disk config doc
Signed-off-by: Wojtek Czekalski <wczekalski@me.com>
This commit is contained in:
parent
5eaf510f90
commit
8acaeb5c82
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user