acrn-config: add 'usb_xhci' info to launch xmls

Some vm need USB xHCI mediator support, this patch add 'usb_xhci' item
to the launch config files that user can edit it from webUI.

Tracked-On: #4164
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-26 19:38:31 +08:00 committed by wenlingz
parent bc9b6d1b0c
commit 420b65a61e
34 changed files with 39 additions and 0 deletions

View File

@ -11,6 +11,7 @@
<poweroff_channel desc="the method of power off uos" readonly="true">
--pm_notify_channel ioc \
</poweroff_channel>
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2:4"></usb_xhci>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device">00:15.1 USB controller: Intel Corporation Device 5aaa (rev 0b)</usb_xdci>

View File

@ -11,6 +11,7 @@
<poweroff_channel desc="the method of power off uos" readonly="true">
--pm_notify_channel ioc \
</poweroff_channel>
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2:4"></usb_xhci>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device">00:15.1 USB controller: Intel Corporation Device 5aaa (rev 0b)</usb_xdci>

View File

@ -11,6 +11,7 @@
<poweroff_channel desc="the method of power off uos" readonly="true">
--pm_notify_channel ioc \
</poweroff_channel>
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2:4"></usb_xhci>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device">00:15.1 USB controller: Intel Corporation Device 5aaa (rev 0b)</usb_xdci>

View File

@ -11,6 +11,7 @@
<poweroff_channel desc="the method of power off uos" readonly="true">
--pm_notify_channel power_button \
</poweroff_channel>
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2:4"></usb_xhci>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device">00:15.1 USB controller: Intel Corporation Device 5aaa (rev 0b)</usb_xdci>

View File

@ -11,6 +11,7 @@
<poweroff_channel desc="the method of power off uos" readonly="true">
--pm_notify_channel power_button \
</poweroff_channel>
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2:4"></usb_xhci>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device">00:15.1 USB controller: Intel Corporation Device 5aaa (rev 0b)</usb_xdci>

View File

@ -11,6 +11,7 @@
<poweroff_channel desc="the method of power off uos" readonly="true">
--pm_notify_channel power_button \
</poweroff_channel>
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2:4"></usb_xhci>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device">00:15.1 USB controller: Intel Corporation Device 5aaa (rev 0b)</usb_xdci>

View File

@ -10,6 +10,7 @@
<console_type desc="UOS console type"></console_type>
<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>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>

View File

@ -10,6 +10,7 @@
<console_type desc="UOS console type"></console_type>
<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>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>

View File

@ -10,6 +10,7 @@
<console_type desc="UOS console type"></console_type>
<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>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
@ -41,6 +42,7 @@
<console_type desc="UOS console type"></console_type>
<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>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>

View File

@ -10,6 +10,7 @@
<console_type desc="UOS console type"></console_type>
<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>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>

View File

@ -8,6 +8,7 @@
<rootfs_dev configurable="0" desc="rootfs partition devices"></rootfs_dev>
<rootfs_img configurable="0" desc="rootfs image"></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>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>

View File

@ -8,6 +8,7 @@
<rootfs_dev desc="rootfs partition devices" readonly="true">/dev/sda3</rootfs_dev>
<rootfs_img desc="rootfs image" readonly="true">./VxWorks.img</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>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>

View File

@ -8,6 +8,7 @@
<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>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>

View File

@ -8,6 +8,7 @@
<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>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
@ -38,6 +39,7 @@
<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>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>

View File

@ -11,6 +11,7 @@
<poweroff_channel desc="the method of power off uos" readonly="true">
--pm_notify_channel power_button \
</poweroff_channel>
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2:4"></usb_xhci>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>

View File

@ -8,6 +8,7 @@
<rootfs_dev desc="rootfs partition devices" readonly="true">/dev/sda3</rootfs_dev>
<rootfs_img desc="rootfs image" readonly="true">./zephyr.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>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>

View File

@ -8,6 +8,7 @@
<rootfs_dev configurable="0" desc="rootfs partition devices"></rootfs_dev>
<rootfs_img configurable="0" desc="rootfs image"></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>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>

View File

@ -8,6 +8,7 @@
<rootfs_dev desc="rootfs partition devices" readonly="true">/dev/sda3</rootfs_dev>
<rootfs_img desc="rootfs image" readonly="true">./VxWorks.img</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>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>

View File

@ -8,6 +8,7 @@
<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>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>

View File

@ -8,6 +8,7 @@
<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>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
@ -38,6 +39,7 @@
<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>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>

View File

@ -11,6 +11,7 @@
<poweroff_channel desc="the method of power off uos" readonly="true">
--pm_notify_channel power_button \
</poweroff_channel>
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2:4"></usb_xhci>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>

View File

@ -8,6 +8,7 @@
<rootfs_dev desc="rootfs partition devices" readonly="true">/dev/sda3</rootfs_dev>
<rootfs_img desc="rootfs image" readonly="true">./zephyr.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>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>

View File

@ -8,6 +8,7 @@
<rootfs_dev configurable="0" desc="rootfs partition devices"></rootfs_dev>
<rootfs_img configurable="0" desc="rootfs image"></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>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>

View File

@ -8,6 +8,7 @@
<rootfs_dev desc="rootfs partition devices" readonly="true">/dev/sda3</rootfs_dev>
<rootfs_img desc="rootfs image" readonly="true">./VxWorks.img</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>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>

View File

@ -8,6 +8,7 @@
<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>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>

View File

@ -8,6 +8,7 @@
<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>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
@ -38,6 +39,7 @@
<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>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>

View File

@ -11,6 +11,7 @@
<poweroff_channel desc="the method of power off uos" readonly="true">
--pm_notify_channel power_button \
</poweroff_channel>
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2:4"></usb_xhci>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>

View File

@ -8,6 +8,7 @@
<rootfs_dev desc="rootfs partition devices" readonly="true">/dev/sda3</rootfs_dev>
<rootfs_img desc="rootfs image" readonly="true">./zephyr.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>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>

View File

@ -8,6 +8,7 @@
<rootfs_dev configurable="0" desc="rootfs partition devices"></rootfs_dev>
<rootfs_img configurable="0" desc="rootfs image"></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>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>

View File

@ -8,6 +8,7 @@
<rootfs_dev desc="rootfs partition devices" readonly="true">/dev/sda3</rootfs_dev>
<rootfs_img desc="rootfs image" readonly="true">./VxWorks.img</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>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>

View File

@ -8,6 +8,7 @@
<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>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>

View File

@ -8,6 +8,7 @@
<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>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
@ -38,6 +39,7 @@
<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>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>

View File

@ -11,6 +11,7 @@
<poweroff_channel desc="the method of power off uos" readonly="true">
--pm_notify_channel power_button \
</poweroff_channel>
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2:4"></usb_xhci>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>

View File

@ -8,6 +8,7 @@
<rootfs_dev desc="rootfs partition devices" readonly="true">/dev/sda3</rootfs_dev>
<rootfs_img desc="rootfs image" readonly="true">./zephyr.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>
<passthrough_devices>
<usb_xdci desc="vm usb_xdci device"></usb_xdci>