mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-08 04:09:11 +00:00
config_tools: hide tty and sock in UI
For virtio console, in order to hide tty and sock backend types, change "xs:sequence" to "xs:all" in the XML schema to slice the backend type list and update backend type to "BasicVirtioConsoleBackendType" to call the sliced value. Tracked-On: #6691 Signed-off-by: Kunhui-Li <kunhuix.li@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
@@ -96,7 +96,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
ConsoleUseType: this.rootSchema.definitions['VirtioConsoleUseType']['enum'],
|
||||
ConsoleBackendType: this.rootSchema.definitions['VirtioConsoleBackendType']['enum'],
|
||||
ConsoleBackendType: this.rootSchema.definitions['BasicVirtioConsoleBackendType']['enum'],
|
||||
defaultVal: vueUtils.getPathVal(this.rootFormData, this.curNodePath)
|
||||
};
|
||||
},
|
||||
|
Reference in New Issue
Block a user