From 0c5f7b5985762114e4e8089ac11d4e3a8ca3f5a3 Mon Sep 17 00:00:00 2001 From: hangliu1 Date: Thu, 5 May 2022 02:51:41 -0400 Subject: [PATCH] config tool:add restriction for some parameters add value restriction for memory size and max pt irq entry Tracked-On: #7407 Signed-off-by: hangliu1 --- misc/config_tools/schema/VMtypes.xsd | 10 +++++++++- misc/config_tools/schema/config.xsd | 11 ++++++++++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/misc/config_tools/schema/VMtypes.xsd b/misc/config_tools/schema/VMtypes.xsd index 5deea6479..f98c068d4 100644 --- a/misc/config_tools/schema/VMtypes.xsd +++ b/misc/config_tools/schema/VMtypes.xsd @@ -118,10 +118,18 @@ The size is a subset of the VM's total memory size specified on the Basic tab. - + Specify the physical memory size allocated to this VM in megabytes. + + + Integer value is not below zero. + + + + + diff --git a/misc/config_tools/schema/config.xsd b/misc/config_tools/schema/config.xsd index 0ff6c89b9..68cc575c6 100644 --- a/misc/config_tools/schema/config.xsd +++ b/misc/config_tools/schema/config.xsd @@ -198,10 +198,19 @@ These settings can only be changed at build time. - + Specify the maximum number of interrupt request (IRQ) entries from all passthrough devices. + + + Integer from 1 to 1024. + + + + + +