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">2048</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/mmcblk1p3</rootfs_dev>
<rootfs_img desc="rootfs image" readonly="true">android/android.img</rootfs_img>
<console_type desc="UOS console type">virtio-console(hvc0)</console_type>
<poweroff_channel desc="the method of power off uos" readonly="true">
--pm_notify_channel ioc \
@@ -30,6 +28,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">/dev/mmcblk1p3:android/android.img</block>
</virtio_devices>
</uos>
</acrn-config>

View File

@@ -5,8 +5,6 @@
<mem_size desc="UOS memory size in MByte">2048</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/mmcblk1p3</rootfs_dev>
<rootfs_img desc="rootfs image" readonly="true">alios/alios.img</rootfs_img>
<console_type desc="UOS console type">virtio-console(hvc0)</console_type>
<poweroff_channel desc="the method of power off uos" readonly="true">
--pm_notify_channel ioc \
@@ -30,6 +28,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">/dev/mmcblk1p3:alios/alios.img</block>
</virtio_devices>
</uos>
</acrn-config>

View File

@@ -5,8 +5,6 @@
<mem_size desc="UOS memory size in MByte">2048</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/mmcblk1p3</rootfs_dev>
<rootfs_img desc="rootfs image" readonly="true">clearlinux/clearlinux.img</rootfs_img>
<console_type desc="UOS console type">virtio-console(hvc0)</console_type>
<poweroff_channel desc="the method of power off uos" readonly="true">
--pm_notify_channel ioc \
@@ -30,6 +28,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">/dev/mmcblk1p3:clearlinux/clearlinux.img</block>
</virtio_devices>
</uos>
</acrn-config>