Skip to content
Snippets Groups Projects
Commit 206ce969 authored by Kostiantyn Kostiuk's avatar Kostiantyn Kostiuk
Browse files

qga-win: Detect Windows 11 by build number


Windows 10 and 11 have the same major and minor versions.
So, the only way to determine the correct version is to
use the build number.

After this commit, the guest agent will return the proper
"version" and "version-id" for Windows 11. The "pretty-name"
is read from the registry and will be incorrect until the
MS updates the registry. We only can create some workaround
and replace 10 to 11.

Signed-off-by: default avatarKostiantyn Kostiuk <konstantin@daynix.com>
Reviewed-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: default avatarKostiantyn Kostiuk <kkostiuk@redhat.com>
parent 92857cd7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment