From 2efa77c86dd43fcab28899e4cce1cc0d91d436a3 Mon Sep 17 00:00:00 2001 From: Chenli Wei Date: Fri, 17 Jun 2022 17:35:27 +0800 Subject: [PATCH] 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 --- .../src/pages/Config/ConfigForm/CustomWidget/VUART.vue | 2 +- misc/config_tools/schema/VMtypes.xsd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/config_tools/configurator/packages/configurator/src/pages/Config/ConfigForm/CustomWidget/VUART.vue b/misc/config_tools/configurator/packages/configurator/src/pages/Config/ConfigForm/CustomWidget/VUART.vue index 735d109be..f00ccbec1 100644 --- a/misc/config_tools/configurator/packages/configurator/src/pages/Config/ConfigForm/CustomWidget/VUART.vue +++ b/misc/config_tools/configurator/packages/configurator/src/pages/Config/ConfigForm/CustomWidget/VUART.vue @@ -219,7 +219,7 @@ export default { } this.defaultVal.splice(index + 1, 0, { "name": "Connection_" + this.defaultVal.length, - "type": "legacy", + "type": "pci", "endpoint": [ { "vm_name": "", diff --git a/misc/config_tools/schema/VMtypes.xsd b/misc/config_tools/schema/VMtypes.xsd index e7feb48c0..2785380ab 100644 --- a/misc/config_tools/schema/VMtypes.xsd +++ b/misc/config_tools/schema/VMtypes.xsd @@ -235,7 +235,7 @@ The size is a subset of the VM's total memory size specified on the Basic tab.Specify the vUART name. - + Select the communication virtual UART (vUART) type.