mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-07-06 20:09:01 +00:00
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:
parent
c6d171dfc0
commit
642b68d9c5
@ -219,7 +219,7 @@ export default {
|
|||||||
}
|
}
|
||||||
this.defaultVal.splice(index + 1, 0, {
|
this.defaultVal.splice(index + 1, 0, {
|
||||||
"name": "Connection_" + this.defaultVal.length,
|
"name": "Connection_" + this.defaultVal.length,
|
||||||
"type": "legacy",
|
"type": "pci",
|
||||||
"endpoint": [
|
"endpoint": [
|
||||||
{
|
{
|
||||||
"vm_name": "",
|
"vm_name": "",
|
||||||
|
@ -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:documentation>Specify the vUART name.</xs:documentation>
|
||||||
</xs:annotation>
|
</xs:annotation>
|
||||||
</xs:element>
|
</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:annotation acrn:title="vUART Type">
|
||||||
<xs:documentation>Select the communication virtual UART (vUART) type.</xs:documentation>
|
<xs:documentation>Select the communication virtual UART (vUART) type.</xs:documentation>
|
||||||
</xs:annotation>
|
</xs:annotation>
|
||||||
|
Loading…
Reference in New Issue
Block a user