mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-09 02:24:45 +00:00
acrn-config: add 'virtio-console' info in launch xmls
1. Some vm need mediator of 'virtio-console', so add 'console' item into 'virtio_devices' leaf that user could edit them from webUI. 2. Add 'vuart0' item to enable/disable serial console emulation by device model. Tracked-On: #4186 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<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>
|
||||
<console_type desc="UOS console type">virtio-console(hvc0)</console_type>
|
||||
<vuart0 desc="vUART0 which emulated by device model">Enable</vuart0>
|
||||
<poweroff_channel desc="the method of power off uos" readonly="true">
|
||||
--pm_notify_channel power_button \
|
||||
</poweroff_channel>
|
||||
@@ -30,6 +30,7 @@
|
||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">LaaG</network>
|
||||
<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/mmcblk0p1:clearlinux/clearlinux.img</block>
|
||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@pty:pty_port</console>
|
||||
</virtio_devices>
|
||||
</uos>
|
||||
</acrn-config>
|
||||
|
||||
Reference in New Issue
Block a user