mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-25 15:02:13 +00:00
acrn-config: Provide post launch xml for hybrid scenario
There is no default xml for hybrid_rt to to generate the script of posted launch WaaG. Tracked-On: #5336 Signed-off-by: Shixiong Zhang <shixiongx.zhang@intel.com>
This commit is contained in:
parent
4d65064fd6
commit
f258074c6c
@ -0,0 +1,39 @@
|
||||
<acrn-config board="ehl-crb-b" scenario="hybrid_rt" uos_launcher="1">
|
||||
<uos id="1">
|
||||
<uos_type desc="UOS type">WINDOWS</uos_type>
|
||||
<rtos_type desc="UOS Realtime capability">no</rtos_type>
|
||||
<mem_size desc="UOS memory size in MByte">4096</mem_size>
|
||||
<gvt_args desc="GVT settings. Set it to gvtd for GVTd, otherwise is GVTg arguments. The recommendation arguments for GVTg is 64 448 8. Leave it blank to disable GVT.">gvtd</gvt_args>
|
||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||
<vuart0 desc="vUART0 which emulated by device model">Enable</vuart0>
|
||||
<poweroff_channel desc="the method of power off uos"></poweroff_channel>
|
||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||
<pcpu_id></pcpu_id>
|
||||
</cpu_affinity>
|
||||
<shm_regions desc="List of shared memrory regions for inter-VM communication.">
|
||||
<shm_region desc="configure the shm regions for current VM, formated as hv:/shm_region_0,2097152"></shm_region>
|
||||
</shm_regions>
|
||||
<passthrough_devices>
|
||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
||||
<audio desc="vm audio device">00:1f.3 Multimedia audio controller: Intel Corporation Device 4b58</audio>
|
||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
||||
<ipu desc="vm ipu device"></ipu>
|
||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
||||
<cse desc="vm cse device"></cse>
|
||||
<wifi desc="vm wifi device"></wifi>
|
||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
||||
<sd_card desc="vm sd card device"></sd_card>
|
||||
<ethernet desc="vm ethernet device"></ethernet>
|
||||
<sata desc="vm sata device"></sata>
|
||||
<nvme desc="vm nvme device"></nvme>
|
||||
</passthrough_devices>
|
||||
|
||||
<virtio_devices>
|
||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">WaaG</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">./win10-ltsc.img</block>
|
||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]"></console>
|
||||
</virtio_devices>
|
||||
</uos>
|
||||
</acrn-config>
|
@ -0,0 +1,39 @@
|
||||
<acrn-config board="nuc7i7dnb" scenario="hybrid_rt" uos_launcher="1">
|
||||
<uos id="1">
|
||||
<uos_type desc="UOS type">WINDOWS</uos_type>
|
||||
<rtos_type desc="UOS Realtime capability">no</rtos_type>
|
||||
<mem_size desc="UOS memory size in MByte">4096</mem_size>
|
||||
<gvt_args desc="GVT settings. Set it to gvtd for GVTd, otherwise is GVTg arguments. The recommendation arguments for GVTg is 64 448 8. Leave it blank to disable GVT.">gvtd</gvt_args>
|
||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||
<vuart0 desc="vUART0 which emulated by device model">Enable</vuart0>
|
||||
<poweroff_channel desc="the method of power off uos"></poweroff_channel>
|
||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||
<pcpu_id></pcpu_id>
|
||||
</cpu_affinity>
|
||||
<shm_regions desc="List of shared memrory regions for inter-VM communication.">
|
||||
<shm_region desc="configure the shm regions for current VM, formated as hv:/shm_region_0,2097152"></shm_region>
|
||||
</shm_regions>
|
||||
<passthrough_devices>
|
||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
||||
<audio desc="vm audio device">00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)</audio>
|
||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
||||
<ipu desc="vm ipu device"></ipu>
|
||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
||||
<cse desc="vm cse device"></cse>
|
||||
<wifi desc="vm wifi device"></wifi>
|
||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
||||
<sd_card desc="vm sd card device"></sd_card>
|
||||
<ethernet desc="vm ethernet device"></ethernet>
|
||||
<sata desc="vm sata device"></sata>
|
||||
<nvme desc="vm nvme device"></nvme>
|
||||
</passthrough_devices>
|
||||
|
||||
<virtio_devices>
|
||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">WaaG</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">./win10-ltsc.img</block>
|
||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]"></console>
|
||||
</virtio_devices>
|
||||
</uos>
|
||||
</acrn-config>
|
@ -0,0 +1,39 @@
|
||||
<acrn-config board="tgl-rvp" scenario="hybrid_rt" uos_launcher="1">
|
||||
<uos id="1">
|
||||
<uos_type desc="UOS type">WINDOWS</uos_type>
|
||||
<rtos_type desc="UOS Realtime capability">no</rtos_type>
|
||||
<mem_size desc="UOS memory size in MByte">4096</mem_size>
|
||||
<gvt_args desc="GVT settings. Set it to gvtd for GVTd, otherwise is GVTg arguments. The recommendation arguments for GVTg is 64 448 8. Leave it blank to disable GVT.">gvtd</gvt_args>
|
||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||
<vuart0 desc="vUART0 which emulated by device model">Enable</vuart0>
|
||||
<poweroff_channel desc="the method of power off uos"></poweroff_channel>
|
||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||
<pcpu_id></pcpu_id>
|
||||
</cpu_affinity>
|
||||
<shm_regions desc="List of shared memrory regions for inter-VM communication.">
|
||||
<shm_region desc="configure the shm regions for current VM, formated as hv:/shm_region_0,2097152"></shm_region>
|
||||
</shm_regions>
|
||||
<passthrough_devices>
|
||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
||||
<audio desc="vm audio device">00:1f.3 Multimedia audio controller: Intel Corporation Device a0c8 (rev 10)</audio>
|
||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
||||
<ipu desc="vm ipu device"></ipu>
|
||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
||||
<cse desc="vm cse device"></cse>
|
||||
<wifi desc="vm wifi device"></wifi>
|
||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
||||
<sd_card desc="vm sd card device"></sd_card>
|
||||
<ethernet desc="vm ethernet device"></ethernet>
|
||||
<sata desc="vm sata device"></sata>
|
||||
<nvme desc="vm nvme device"></nvme>
|
||||
</passthrough_devices>
|
||||
|
||||
<virtio_devices>
|
||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">WaaG</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">./win10-ltsc.img</block>
|
||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]"></console>
|
||||
</virtio_devices>
|
||||
</uos>
|
||||
</acrn-config>
|
@ -0,0 +1,39 @@
|
||||
<acrn-config board="whl-ipc-i5" scenario="hybrid_rt" uos_launcher="1">
|
||||
<uos id="1">
|
||||
<uos_type desc="UOS type">WINDOWS</uos_type>
|
||||
<rtos_type desc="UOS Realtime capability">no</rtos_type>
|
||||
<mem_size desc="UOS memory size in MByte">4096</mem_size>
|
||||
<gvt_args desc="GVT settings. Set it to gvtd for GVTd, otherwise is GVTg arguments. The recommendation arguments for GVTg is 64 448 8. Leave it blank to disable GVT.">gvtd</gvt_args>
|
||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||
<vuart0 desc="vUART0 which emulated by device model">Enable</vuart0>
|
||||
<poweroff_channel desc="the method of power off uos"></poweroff_channel>
|
||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||
<pcpu_id></pcpu_id>
|
||||
</cpu_affinity>
|
||||
<shm_regions desc="List of shared memrory regions for inter-VM communication.">
|
||||
<shm_region desc="configure the shm regions for current VM, formated as hv:/shm_region_0,2097152"></shm_region>
|
||||
</shm_regions>
|
||||
<passthrough_devices>
|
||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
||||
<audio desc="vm audio device">00:1f.3 Audio device: Intel Corporation Device 9dc8 (rev 30)</audio>
|
||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
||||
<ipu desc="vm ipu device"></ipu>
|
||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
||||
<cse desc="vm cse device"></cse>
|
||||
<wifi desc="vm wifi device"></wifi>
|
||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
||||
<sd_card desc="vm sd card device"></sd_card>
|
||||
<ethernet desc="vm ethernet device"></ethernet>
|
||||
<sata desc="vm sata device"></sata>
|
||||
<nvme desc="vm nvme device"></nvme>
|
||||
</passthrough_devices>
|
||||
|
||||
<virtio_devices>
|
||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">WaaG</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">./win10-ltsc.img</block>
|
||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]"></console>
|
||||
</virtio_devices>
|
||||
</uos>
|
||||
</acrn-config>
|
@ -0,0 +1,39 @@
|
||||
<acrn-config board="whl-ipc-i7" scenario="hybrid_rt" uos_launcher="1">
|
||||
<uos id="1">
|
||||
<uos_type desc="UOS type">WINDOWS</uos_type>
|
||||
<rtos_type desc="UOS Realtime capability">no</rtos_type>
|
||||
<mem_size desc="UOS memory size in MByte">4096</mem_size>
|
||||
<gvt_args desc="GVT settings. Set it to gvtd for GVTd, otherwise is GVTg arguments. The recommendation arguments for GVTg is 64 448 8. Leave it blank to disable GVT.">gvtd</gvt_args>
|
||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||
<vuart0 desc="vUART0 which emulated by device model">Enable</vuart0>
|
||||
<poweroff_channel desc="the method of power off uos"></poweroff_channel>
|
||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||
<pcpu_id></pcpu_id>
|
||||
</cpu_affinity>
|
||||
<shm_regions desc="List of shared memrory regions for inter-VM communication.">
|
||||
<shm_region desc="configure the shm regions for current VM, formated as hv:/shm_region_0,2097152"></shm_region>
|
||||
</shm_regions>
|
||||
<passthrough_devices>
|
||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
||||
<audio desc="vm audio device">00:1f.3 Audio device: Intel Corporation Device 9dc8 (rev 30)</audio>
|
||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
||||
<ipu desc="vm ipu device"></ipu>
|
||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
||||
<cse desc="vm cse device"></cse>
|
||||
<wifi desc="vm wifi device"></wifi>
|
||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
||||
<sd_card desc="vm sd card device"></sd_card>
|
||||
<ethernet desc="vm ethernet device"></ethernet>
|
||||
<sata desc="vm sata device"></sata>
|
||||
<nvme desc="vm nvme device"></nvme>
|
||||
</passthrough_devices>
|
||||
|
||||
<virtio_devices>
|
||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">WaaG</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">./win10-ltsc.img</block>
|
||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]"></console>
|
||||
</virtio_devices>
|
||||
</uos>
|
||||
</acrn-config>
|
Loading…
Reference in New Issue
Block a user