diff --git a/docs/en/docs/StratoVirt/VM_configuration.md b/docs/en/docs/StratoVirt/VM_configuration.md index c303569a3300e1ae816c6dcb74576017e1fd992a..0fe427da1ea18cd824a8b033661a769fb97b505e 100644 --- a/docs/en/docs/StratoVirt/VM_configuration.md +++ b/docs/en/docs/StratoVirt/VM_configuration.md @@ -107,6 +107,7 @@ VM disk configuration includes the following configuration items: - **bus**: bus to which the device is to be mounted. - **addr**: IDs of the slot and function to which the device is to be mounted. - **multifunction** (optional): whether to enable PCI multi-function. +- **bootindex** (optional, only for standard machine): set the boot order of block device. If not set, the priority is lowest. The number ranges from 0 to 255, the smaller the number, the higher the priority. #### Disk Configuration Modes @@ -123,7 +124,7 @@ The standard VM configuration format is as follows: ``` -drive id=drive_id,file=path_on_host[,readonly=off][,direct=off][,throttling.iops-total=200][,if=none] --device virtio-blk-pci,drive=drive_id,bus=pcie.0,addr=0x3.0x0,id=blkid[,iothread=iothread1,][serial=serial_num][,multifunction=on] +-device virtio-blk-pci,drive=drive_id,bus=pcie.0,addr=0x3.0x0,id=blkid[,iothread=iothread1,][serial=serial_num][,multifunction=on][,bootindex=1] ``` The following describes the **throttling.iops-total** and **iothread** configuration items: diff --git "a/docs/zh/docs/StratoVirt/\350\231\232\346\213\237\346\234\272\351\205\215\347\275\256.md" "b/docs/zh/docs/StratoVirt/\350\231\232\346\213\237\346\234\272\351\205\215\347\275\256.md" index d5262daf3434e165e71e5e9e83c99cf4bb1814e8..c98265fbdd3cf52d00318cab46d844e35a97b762 100644 --- "a/docs/zh/docs/StratoVirt/\350\231\232\346\213\237\346\234\272\351\205\215\347\275\256.md" +++ "b/docs/zh/docs/StratoVirt/\350\231\232\346\213\237\346\234\272\351\205\215\347\275\256.md" @@ -108,6 +108,7 @@ StratoVirt 能够运行的最小配置为: - bus:设备要挂载的bus。 - addr:设备要挂载的slot和function号。 - multifunction:是否开启pci多功能。(可选配置) +- bootindex:配置启动优先级属性,如果没有设置,默认最低优先级。配置范围从0到255,数字越小,优先级越高。(可选配置,只支持标准机型) #### 磁盘配置方式 @@ -124,7 +125,7 @@ StratoVirt 能够运行的最小配置为: ``` -drive id=drive_id,file=path_on_host[,readonly=off][,direct=off][,throttling.iops-total=200][,if=none] --device virtio-blk-pci,drive=drive_id,bus=pcie.0,addr=0x3.0x0,id=blkid[,iothread=iothread1,][serial=serial_num][,multifunction=on] +-device virtio-blk-pci,drive=drive_id,bus=pcie.0,addr=0x3.0x0,id=blkid[,iothread=iothread1,][serial=serial_num][,multifunction=on][,bootindex=1] ``` 下面对throttling.iops-total和iothread两个配置项进行详细说明: