diff mbox series

qga-win: Add support of Windows Server 2025 in get-osinfo command

Message ID 20240221095130.52711-1-demeng@redhat.com (mailing list archive)
State New, archived
Headers show
Series qga-win: Add support of Windows Server 2025 in get-osinfo command | expand

Commit Message

Dehan Meng Feb. 21, 2024, 9:51 a.m. UTC
Add support of Windows Server 2025 in get-osinfo command

Signed-off-by: Dehan Meng <demeng@redhat.com>
---
 qga/commands-win32.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Dehan Meng Feb. 22, 2024, 2:56 a.m. UTC | #1
Done. thanks.

On Wed, Feb 21, 2024 at 6:00 PM Konstantin Kostiuk <kkostiuk@redhat.com>
wrote:

>
>
> On Wed, Feb 21, 2024 at 11:51 AM Dehan Meng <demeng@redhat.com> wrote:
>
>> Add support of Windows Server 2025 in get-osinfo command
>>
>> Signed-off-by: Dehan Meng <demeng@redhat.com>
>> ---
>>  qga/commands-win32.c | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/qga/commands-win32.c b/qga/commands-win32.c
>> index 697c65507c..f3c7e604c9 100644
>> --- a/qga/commands-win32.c
>> +++ b/qga/commands-win32.c
>> @@ -2154,6 +2154,7 @@ static ga_win_10_0_t const
>> WIN_10_0_SERVER_VERSION_MATRIX[4] = {
>>
>
> You don't update the array size, there are out of range elements
>
>
>>      {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}
>>  };
>>
>> --
>> 2.35.1
>>
>>
diff mbox series

Patch

diff --git a/qga/commands-win32.c b/qga/commands-win32.c
index 697c65507c..f3c7e604c9 100644
--- a/qga/commands-win32.c
+++ b/qga/commands-win32.c
@@ -2154,6 +2154,7 @@  static ga_win_10_0_t const WIN_10_0_SERVER_VERSION_MATRIX[4] = {
     {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}
 };