qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] cced3a: MAINTAINERS: Add entry for QEMU Guest


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] cced3a: MAINTAINERS: Add entry for QEMU Guest Agent Window...
Date: Sun, 16 Jan 2022 12:10:16 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: cced3a72300c3b077be3bef7048688b9cf6f98c3
      
https://github.com/qemu/qemu/commit/cced3a72300c3b077be3bef7048688b9cf6f98c3
  Author: Kostiantyn Kostiuk <kkostiuk@redhat.com>
  Date:   2022-01-10 (Mon, 10 Jan 2022)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: Add entry for QEMU Guest Agent Windows components

Signed-off-by: Kostiantyn Kostiuk <kkostiuk@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Michael Roth <michael.roth@amd.com>


  Commit: d0b896a7495b71313c43aff4329714ade56799d4
      
https://github.com/qemu/qemu/commit/d0b896a7495b71313c43aff4329714ade56799d4
  Author: Kostiantyn Kostiuk <konstantin@daynix.com>
  Date:   2022-01-10 (Mon, 10 Jan 2022)

  Changed paths:
    M qga/commands-win32.c

  Log Message:
  -----------
  gqa-win: get_pci_info: Clean dev_info if handle is valid

Signed-off-by: Kostiantyn Kostiuk <konstantin@daynix.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Kostiantyn Kostiuk <kkostiuk@redhat.com>


  Commit: e78ca586d66e0d2001a6caef90bf7361f3ef3ad1
      
https://github.com/qemu/qemu/commit/e78ca586d66e0d2001a6caef90bf7361f3ef3ad1
  Author: Kostiantyn Kostiuk <konstantin@daynix.com>
  Date:   2022-01-10 (Mon, 10 Jan 2022)

  Changed paths:
    M qga/commands-win32.c

  Log Message:
  -----------
  gqa-win: get_pci_info: Use common 'end' label

To prevent memory leaks, always try to free initialized variables.

Signed-off-by: Kostiantyn Kostiuk <konstantin@daynix.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Kostiantyn Kostiuk <kkostiuk@redhat.com>


  Commit: c49ca88b5586cf17d8f9597aaab46e181a7fc797
      
https://github.com/qemu/qemu/commit/c49ca88b5586cf17d8f9597aaab46e181a7fc797
  Author: Kostiantyn Kostiuk <konstantin@daynix.com>
  Date:   2022-01-10 (Mon, 10 Jan 2022)

  Changed paths:
    M qga/commands-win32.c

  Log Message:
  -----------
  gqa-win: get_pci_info: Free parent_dev_info properly

In case when the function fails to get parent device data,
the parent_dev_info variable will be initialized, but not freed.

Signed-off-by: Kostiantyn Kostiuk <konstantin@daynix.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Kostiantyn Kostiuk <kkostiuk@redhat.com>


  Commit: 7cc354613e73bba407c56e3fc700abb76a419f20
      
https://github.com/qemu/qemu/commit/7cc354613e73bba407c56e3fc700abb76a419f20
  Author: Kostiantyn Kostiuk <konstantin@daynix.com>
  Date:   2022-01-10 (Mon, 10 Jan 2022)

  Changed paths:
    M qga/commands-win32.c

  Log Message:
  -----------
  gqa-win: get_pci_info: Split logic to separate functions

Signed-off-by: Kostiantyn Kostiuk <konstantin@daynix.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Kostiantyn Kostiuk <kkostiuk@redhat.com>


  Commit: 5f22473ebb6889dab79bd0a649b9de35ad075136
      
https://github.com/qemu/qemu/commit/5f22473ebb6889dab79bd0a649b9de35ad075136
  Author: Kostiantyn Kostiuk <konstantin@daynix.com>
  Date:   2022-01-10 (Mon, 10 Jan 2022)

  Changed paths:
    M qga/commands-win32.c

  Log Message:
  -----------
  gqa-win: get_pci_info: Add g_autofree for few variables

Signed-off-by: Kostiantyn Kostiuk <konstantin@daynix.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Kostiantyn Kostiuk <kkostiuk@redhat.com>


  Commit: d919cea07c5e3506c3df7389f8d620b08c54b033
      
https://github.com/qemu/qemu/commit/d919cea07c5e3506c3df7389f8d620b08c54b033
  Author: Kostiantyn Kostiuk <konstantin@daynix.com>
  Date:   2022-01-10 (Mon, 10 Jan 2022)

  Changed paths:
    M qga/commands-win32.c

  Log Message:
  -----------
  gqa-win: get_pci_info: Replace 'while' with 2 calls of the function

Microsoft suggests this solution in the documentation:
https://docs.microsoft.com/en-us/windows/win32/api/setupapi/nf-setupapi-setupdigetdeviceinterfacedetaila

Signed-off-by: Kostiantyn Kostiuk <konstantin@daynix.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Kostiantyn Kostiuk <kkostiuk@redhat.com>


  Commit: 92857cd73848a488506fbe937e0a978c42d52e2c
      
https://github.com/qemu/qemu/commit/92857cd73848a488506fbe937e0a978c42d52e2c
  Author: Kostiantyn Kostiuk <konstantin@daynix.com>
  Date:   2022-01-10 (Mon, 10 Jan 2022)

  Changed paths:
    M qga/commands-win32.c

  Log Message:
  -----------
  qga-win: Detect OS based on Windows 10 by first build number

Windows Server 2016, 2019, 2022 are based on Windows 10 and
have the same major and minor versions. So, the only way to
detect the proper version is to use the build number.

Before this commit, the guest agent use the last build number
for each OS, but it causes problems when new OS releases.
There are few preview versions before release, and we
can't update this list.

After this commit, the guest agent will use the first build
number. For each new preview version or release version,
Microsoft increases the build number, so we can add the number
of the first preview build and this will work until the new
OS release.

Signed-off-by: Kostiantyn Kostiuk <konstantin@daynix.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Kostiantyn Kostiuk <kkostiuk@redhat.com>


  Commit: 206ce9699fae1f631ac74b7e1115db2affc759fd
      
https://github.com/qemu/qemu/commit/206ce9699fae1f631ac74b7e1115db2affc759fd
  Author: Kostiantyn Kostiuk <konstantin@daynix.com>
  Date:   2022-01-10 (Mon, 10 Jan 2022)

  Changed paths:
    M qga/commands-win32.c

  Log Message:
  -----------
  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: Kostiantyn Kostiuk <konstantin@daynix.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Kostiantyn Kostiuk <kkostiuk@redhat.com>


  Commit: 69353c332c558cead5f8081d0bb69f989fe33fa3
      
https://github.com/qemu/qemu/commit/69353c332c558cead5f8081d0bb69f989fe33fa3
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2022-01-16 (Sun, 16 Jan 2022)

  Changed paths:
    M MAINTAINERS
    M qga/commands-win32.c

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/konstantin/tags/qga-win32-pull-2022-01-10' into staging

[PULL 0/9] qemu-ga-win patches

# gpg: Signature made Sat 15 Jan 2022 22:04:01 GMT
# gpg:                using RSA key C2C2C109EA43C63C1423EB84EF5D5E8161BA84E7
# gpg: Good signature from "Kostiantyn Kostiuk (Upstream PR sign) 
<kkostiuk@redhat.com>" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: C2C2 C109 EA43 C63C 1423  EB84 EF5D 5E81 61BA 84E7

* remotes/konstantin/tags/qga-win32-pull-2022-01-10:
  qga-win: Detect Windows 11 by build number
  qga-win: Detect OS based on Windows 10 by first build number
  gqa-win: get_pci_info: Replace 'while' with 2 calls of the function
  gqa-win: get_pci_info: Add g_autofree for few variables
  gqa-win: get_pci_info: Split logic to separate functions
  gqa-win: get_pci_info: Free parent_dev_info properly
  gqa-win: get_pci_info: Use common 'end' label
  gqa-win: get_pci_info: Clean dev_info if handle is valid
  MAINTAINERS: Add entry for QEMU Guest Agent Windows components

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/1cd2ad11d37c...69353c332c55



reply via email to

[Prev in Thread] Current Thread [Next in Thread]