[PATCH] config_tools: change some default value


Zhao, Yuanyuan
 

1. Change default user vm memory size from 256 to 1024.
2. Set "Disable UC lock detection" by default.

Signed-off-by: Yuanyuan Zhao <yuanyuan.zhao@...>
---
misc/config_tools/schema/VMtypes.xsd | 2 +-
misc/config_tools/schema/config.xsd | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/misc/config_tools/schema/VMtypes.xsd b/misc/config_tools/schema/VMtypes.xsd
index 101f77c87..e1cdeb091 100644
--- a/misc/config_tools/schema/VMtypes.xsd
+++ b/misc/config_tools/schema/VMtypes.xsd
@@ -105,7 +105,7 @@ The size is a subset of the VM's total memory size specified on the Basic tab.</

<xs:complexType name="MemoryInfo">
<xs:all>
- <xs:element name="size" minOccurs="0" default="256">
+ <xs:element name="size" minOccurs="0" default="1024">
<xs:annotation acrn:title="Memory size (MB)" acrn:views="basic" acrn:applicable-vms="pre-launched, post-launched">
<xs:documentation>Specify the physical memory size allocated to this VM in megabytes.</xs:documentation>
</xs:annotation>
diff --git a/misc/config_tools/schema/config.xsd b/misc/config_tools/schema/config.xsd
index 1208f0da5..ddea58c22 100644
--- a/misc/config_tools/schema/config.xsd
+++ b/misc/config_tools/schema/config.xsd
@@ -63,7 +63,7 @@
<xs:documentation>Disable detection of split locks. A split lock can negatively affect an application's real-time performance. If a lock is detected, an alignment check exception #AC occurs.</xs:documentation>
</xs:annotation>
</xs:element>
- <xs:element name="ENFORCE_TURNOFF_GP" type="Boolean" default="n">
+ <xs:element name="ENFORCE_TURNOFF_GP" type="Boolean" default="y">
<xs:annotation acrn:title="Disable UC lock detection" acrn:views="advanced">
<xs:documentation>Disable detection of uncacheable-memory (UC) locks. A UC lock can negatively affect an application's real-time performance. If a lock is detected, a general-protection exception #GP occurs.</xs:documentation>
</xs:annotation>
--
2.25.1


Junjie Mao
 

Yuanyuan Zhao <yuanyuan.zhao@...> writes:

1. Change default user vm memory size from 256 to 1024.
2. Set "Disable UC lock detection" by default.

Signed-off-by: Yuanyuan Zhao <yuanyuan.zhao@...>
---
misc/config_tools/schema/VMtypes.xsd | 2 +-
misc/config_tools/schema/config.xsd | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/misc/config_tools/schema/VMtypes.xsd b/misc/config_tools/schema/VMtypes.xsd
index 101f77c87..e1cdeb091 100644
--- a/misc/config_tools/schema/VMtypes.xsd
+++ b/misc/config_tools/schema/VMtypes.xsd
@@ -105,7 +105,7 @@ The size is a subset of the VM's total memory size specified on the Basic tab.</

<xs:complexType name="MemoryInfo">
<xs:all>
- <xs:element name="size" minOccurs="0" default="256">
+ <xs:element name="size" minOccurs="0" default="1024">
<xs:annotation acrn:title="Memory size (MB)" acrn:views="basic" acrn:applicable-vms="pre-launched, post-launched">
<xs:documentation>Specify the physical memory size allocated to this VM in megabytes.</xs:documentation>
</xs:annotation>
diff --git a/misc/config_tools/schema/config.xsd b/misc/config_tools/schema/config.xsd
index 1208f0da5..ddea58c22 100644
--- a/misc/config_tools/schema/config.xsd
+++ b/misc/config_tools/schema/config.xsd
@@ -63,7 +63,7 @@
<xs:documentation>Disable detection of split locks. A split lock can negatively affect an application's real-time performance. If a lock is detected, an alignment check exception #AC occurs.</xs:documentation>
</xs:annotation>
</xs:element>
- <xs:element name="ENFORCE_TURNOFF_GP" type="Boolean" default="n">
+ <xs:element name="ENFORCE_TURNOFF_GP" type="Boolean" default="y">
Kindly note that there is an ongoing PR which will reverse the meaning
of this config item. Make sure your change is compatible with that.

--
Best Regards
Junjie Mao

<xs:annotation acrn:title="Disable UC lock detection" acrn:views="advanced">
<xs:documentation>Disable detection of uncacheable-memory (UC) locks. A UC lock can negatively affect an application's real-time performance. If a lock is detected, a general-protection exception #GP occurs.</xs:documentation>
</xs:annotation>


Zhao, Yuanyuan
 

On 2022/8/12 20:02, Junjie Mao wrote:
Yuanyuan Zhao <yuanyuan.zhao@...> writes:

1. Change default user vm memory size from 256 to 1024.
2. Set "Disable UC lock detection" by default.

Signed-off-by: Yuanyuan Zhao <yuanyuan.zhao@...>
---
misc/config_tools/schema/VMtypes.xsd | 2 +-
misc/config_tools/schema/config.xsd | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/misc/config_tools/schema/VMtypes.xsd b/misc/config_tools/schema/VMtypes.xsd
index 101f77c87..e1cdeb091 100644
--- a/misc/config_tools/schema/VMtypes.xsd
+++ b/misc/config_tools/schema/VMtypes.xsd
@@ -105,7 +105,7 @@ The size is a subset of the VM's total memory size specified on the Basic tab.</
<xs:complexType name="MemoryInfo">
<xs:all>
- <xs:element name="size" minOccurs="0" default="256">
+ <xs:element name="size" minOccurs="0" default="1024">
<xs:annotation acrn:title="Memory size (MB)" acrn:views="basic" acrn:applicable-vms="pre-launched, post-launched">
<xs:documentation>Specify the physical memory size allocated to this VM in megabytes.</xs:documentation>
</xs:annotation>
diff --git a/misc/config_tools/schema/config.xsd b/misc/config_tools/schema/config.xsd
index 1208f0da5..ddea58c22 100644
--- a/misc/config_tools/schema/config.xsd
+++ b/misc/config_tools/schema/config.xsd
@@ -63,7 +63,7 @@
<xs:documentation>Disable detection of split locks. A split lock can negatively affect an application's real-time performance. If a lock is detected, an alignment check exception #AC occurs.</xs:documentation>
</xs:annotation>
</xs:element>
- <xs:element name="ENFORCE_TURNOFF_GP" type="Boolean" default="n">
+ <xs:element name="ENFORCE_TURNOFF_GP" type="Boolean" default="y">
Kindly note that there is an ongoing PR which will reverse the meaning
of this config item. Make sure your change is compatible with that.
OK, I will update it later.