misc: set the communication vUART default type to PCI

The current code use the legacy as the default type of communication
vUART, these were only 4 standard vUART ports, others should config by
the /etc/serial.conf, so this patch change the default type to PCI
which could be used without config files.

Tracked-On: #6690
Signed-off-by: Chenli Wei <chenli.wei@linux.intel.com>
This commit is contained in:
Chenli Wei 2022-06-17 17:35:27 +08:00 committed by acrnsi-robot
parent dff6a31844
commit 2efa77c86d
2 changed files with 2 additions and 2 deletions

View File

@ -219,7 +219,7 @@ export default {
}
this.defaultVal.splice(index + 1, 0, {
"name": "Connection_" + this.defaultVal.length,
"type": "legacy",
"type": "pci",
"endpoint": [
{
"vm_name": "",

View File

@ -235,7 +235,7 @@ The size is a subset of the VM's total memory size specified on the Basic tab.</
<xs:documentation>Specify the vUART name.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="type" type="VuartType" default="legacy">
<xs:element name="type" type="VuartType" default="pci">
<xs:annotation acrn:title="vUART Type">
<xs:documentation>Select the communication virtual UART (vUART) type.</xs:documentation>
</xs:annotation>