mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-25 10:43:46 +00:00
df2d925a27b75483b93dde1f4dd70cd3cbb7a48d
The original code assume there is only one configuration for virtio-blk, and 'b' is just located after that configuration, so to get the value of 'b', it will end char *config by adding '\0' after the first configuration. Thus, char *config will change from: /XXXX_vdisk_file,range=xxx/xxx to: /XXXX_vdisk_file and char *b will point to: range=xxx/xxx So, the range will never take effect for virtio-blk. Now, 'b' is designed to located just after emul, and char *config will point to all configurations after 'b'. Note: only ",b," is taken for boot device option. Signed-off-by: Conghui Chen <conghui.chen@intel.com> Reviewed-by: Yin Fengwei <fengwei.yin@intel.com> Reviewed-by: Hao Li <hao.l.li@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
Description
Languages
C
71.5%
Python
17.9%
JavaScript
2.7%
Vue
2%
XSLT
1.5%
Other
4.4%