[Libosinfo] [osinfo-db PATCH 3/3] win2k*, 7, 8, 10: Add maximum RAM resources

Fabiano Fidêncio fidencio at redhat.com
Tue Apr 9 12:42:28 UTC 2019


According to
https://docs.microsoft.com/en-us/windows/desktop/Memory/memory-limits-for-windows-releases:
- Windows 7: 192 GB
- Windows 8: 512 GB
- Windows 10: 6 TB
- Windows Server 2003: 1 TB
- Windows Server 2008: 1 TB
- Windows Server 2008R2: 2 TB
- Windows Server 2012: 4 TB
- Windows Server 2012R2: no info is provided, using the same value from
  2012 - 4 TB
- Windows Server 2016: 24 TB
- Windows Server 2019: no info is provided, using the same value from
  2016

https://gitlab.com/libosinfo/osinfo-db/issues/11

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
 data/os/microsoft.com/win-10.xml.in     | 4 ++++
 data/os/microsoft.com/win-2k12.xml.in   | 4 ++++
 data/os/microsoft.com/win-2k12r2.xml.in | 4 ++++
 data/os/microsoft.com/win-2k16.xml.in   | 4 ++++
 data/os/microsoft.com/win-2k19.xml.in   | 4 ++++
 data/os/microsoft.com/win-2k3.xml.in    | 4 ++++
 data/os/microsoft.com/win-2k8.xml.in    | 4 ++++
 data/os/microsoft.com/win-2k8r2.xml.in  | 4 ++++
 data/os/microsoft.com/win-7.xml.in      | 4 ++++
 data/os/microsoft.com/win-8.xml.in      | 4 ++++
 10 files changed, 40 insertions(+)

diff --git a/data/os/microsoft.com/win-10.xml.in b/data/os/microsoft.com/win-10.xml.in
index cac0ea0..c47753e 100644
--- a/data/os/microsoft.com/win-10.xml.in
+++ b/data/os/microsoft.com/win-10.xml.in
@@ -130,6 +130,10 @@
         <ram>2147483648</ram>
         <storage>21474836480</storage>
       </minimum>
+
+      <maximum>
+        <ram>6597069766656</ram>
+      </maximum>
     </resources>
 
     <installer>
diff --git a/data/os/microsoft.com/win-2k12.xml.in b/data/os/microsoft.com/win-2k12.xml.in
index 8e02c17..7571e95 100644
--- a/data/os/microsoft.com/win-2k12.xml.in
+++ b/data/os/microsoft.com/win-2k12.xml.in
@@ -79,6 +79,10 @@
         <ram>536870912</ram>
         <storage>34359738368</storage>
       </minimum>
+
+      <maximum>
+        <ram>4398046511104</ram>
+      </maximum>
     </resources>
   </os>
 </libosinfo>
diff --git a/data/os/microsoft.com/win-2k12r2.xml.in b/data/os/microsoft.com/win-2k12r2.xml.in
index a472b06..ae8613c 100644
--- a/data/os/microsoft.com/win-2k12r2.xml.in
+++ b/data/os/microsoft.com/win-2k12r2.xml.in
@@ -73,6 +73,10 @@
         <ram>536870912</ram>
         <storage>34359738368</storage>
       </minimum>
+
+      <maximum>
+        <ram>4398046511104</ram>
+      </maximum>
     </resources>
   </os>
 </libosinfo>
diff --git a/data/os/microsoft.com/win-2k16.xml.in b/data/os/microsoft.com/win-2k16.xml.in
index a6b3370..5091e5e 100644
--- a/data/os/microsoft.com/win-2k16.xml.in
+++ b/data/os/microsoft.com/win-2k16.xml.in
@@ -54,6 +54,10 @@
         <ram>2147483648</ram>
         <storage>42949672960</storage>
       </recommended>
+
+      <maximum>
+        <ram>26388279066624</ram>
+      </maximum>
     </resources>
 
   </os>
diff --git a/data/os/microsoft.com/win-2k19.xml.in b/data/os/microsoft.com/win-2k19.xml.in
index 0f291b6..3fc5e72 100644
--- a/data/os/microsoft.com/win-2k19.xml.in
+++ b/data/os/microsoft.com/win-2k19.xml.in
@@ -26,6 +26,10 @@
         <ram>2147483648</ram>
         <storage>42949672960</storage>
       </recommended>
+
+      <maximum>
+        <ram>26388279066624</ram>
+      </maximum>
     </resources>
 
   </os>
diff --git a/data/os/microsoft.com/win-2k3.xml.in b/data/os/microsoft.com/win-2k3.xml.in
index 8b64e82..c4cc031 100644
--- a/data/os/microsoft.com/win-2k3.xml.in
+++ b/data/os/microsoft.com/win-2k3.xml.in
@@ -66,6 +66,10 @@
       <recommended>
         <storage>8589934592</storage>
       </recommended>
+
+      <maximum>
+        <ram>1099511627776</ram>
+      </maximum>
     </resources>
 
     <installer>
diff --git a/data/os/microsoft.com/win-2k8.xml.in b/data/os/microsoft.com/win-2k8.xml.in
index ccc9bc0..d32d561 100644
--- a/data/os/microsoft.com/win-2k8.xml.in
+++ b/data/os/microsoft.com/win-2k8.xml.in
@@ -61,6 +61,10 @@
         <ram>2147483648</ram>
         <storage>42949672960</storage>
       </recommended>
+
+      <maximum>
+        <ram>1099511627776</ram>
+      </maximum>
     </resources>
 
     <installer>
diff --git a/data/os/microsoft.com/win-2k8r2.xml.in b/data/os/microsoft.com/win-2k8r2.xml.in
index 179da7d..daf4756 100644
--- a/data/os/microsoft.com/win-2k8r2.xml.in
+++ b/data/os/microsoft.com/win-2k8r2.xml.in
@@ -48,6 +48,10 @@
         <ram>2147483648</ram>
         <storage>42949672960</storage>
       </recommended>
+
+      <maximum>
+        <ram>2199023255552</ram>
+      </maximum>
     </resources>
 
     <installer>
diff --git a/data/os/microsoft.com/win-7.xml.in b/data/os/microsoft.com/win-7.xml.in
index d4c08f2..08411b3 100644
--- a/data/os/microsoft.com/win-7.xml.in
+++ b/data/os/microsoft.com/win-7.xml.in
@@ -178,6 +178,10 @@
         <ram>2147483648</ram>
         <storage>21474836480</storage>
       </minimum>
+
+      <maximum>
+        <ram>206158430208</ram>
+      </maximum>
     </resources>
 
     <devices>
diff --git a/data/os/microsoft.com/win-8.xml.in b/data/os/microsoft.com/win-8.xml.in
index b8a895e..d7a7cba 100644
--- a/data/os/microsoft.com/win-8.xml.in
+++ b/data/os/microsoft.com/win-8.xml.in
@@ -130,6 +130,10 @@
         <ram>2147483648</ram>
         <storage>21474836480</storage>
       </minimum>
+
+      <maximum>
+        <ram>549755813888</ram>
+      </maximum>
     </resources>
 
     <devices>
-- 
2.20.1




More information about the Libosinfo mailing list