update the array size
v2 cover update the array size
v1 -> v2
update the array size "WIN_10_0_SERVER_VERSION_MATRIX" in case array out of range elements.
Dehan Meng (1):
qga-win: Add support of Windows Server 2025 in get-osinfo command
qga/commands-win32.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.35.1
PATCH v2 1/1 qga-win: Add support of Windows Server 2025 in get-osinfo command
Add support of Windows Server 2025 in get-osinfo command
Signed-off-by Dehan Meng <[email protected]>
--- qga/commands-win32.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
qga/commands-win32.c +2 -1
@@ -2150,10 +2150,11 @@ typedef struct _ga_win_10_0_t {char const *version_id; } ga_win_10_0_t; -static ga_win_10_0_t const WIN_10_0_SERVER_VERSION_MATRIX [4 ] = { +static ga_win_10_0_t const WIN_10_0_SERVER_VERSION_MATRIX [5 ] = { {14393 ,"Microsoft Windows Server 2016" ,"2016" }, {17763 ,"Microsoft Windows Server 2019" ,"2019" }, {20344 ,"Microsoft Windows Server 2022" ,"2022" }, + {26040 ,"MIcrosoft Windows Server 2025" ,"2025" }, {0 ,0 } };
Signature · 1 line
2.35.1