acrn-config: add rootfs_dev/rootfs_img with virtio-blk item

remov rootfs_dev and rootfs_img item and replace them with vritio-blk
item.

The format for virtio-blk:
[blk partition:][img path] e.g.: /dev/sda3:./a/b.img

For vbootloader of ovmf: [img path] e.g.:./a/b.img

Tracked-On: #4172
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
Wei Liu
2019-11-29 13:27:00 +08:00
committed by wenlingz
parent aedd2c70e7
commit 40140281ae
34 changed files with 39 additions and 78 deletions

View File

@@ -5,8 +5,6 @@
<mem_size desc="UOS memory size in MByte">4096</mem_size>
<gvt_args desc="GVT argument for the vm">64 448 8</gvt_args>
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
<rootfs_dev desc="rootfs partition devices" readonly="true">/dev/sda3</rootfs_dev>
<rootfs_img desc="rootfs image" readonly="true">./win10-ltsc.img</rootfs_img>
<console_type desc="UOS console type">com1(ttyS0)</console_type>
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2:4"></usb_xhci>
@@ -27,6 +25,7 @@
<virtio_devices>
<input desc="virtio input device"></input>
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./win10-ltsc.img</block>
</virtio_devices>
</uos>
@@ -36,8 +35,6 @@
<mem_size desc="UOS memory size in MByte">1024</mem_size>
<gvt_args configurable="0" desc="GVT argument for the vm"></gvt_args>
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
<rootfs_dev configurable="0" desc=""></rootfs_dev>
<rootfs_img configurable="0" desc=""></rootfs_img>
<console_type desc="UOS console type">virtio-console(hvc0)</console_type>
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2:4"></usb_xhci>
@@ -58,6 +55,7 @@
<virtio_devices>
<input desc="virtio input device"></input>
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img"></block>
</virtio_devices>
</uos>
</acrn-config>