Skip to content
Snippets Groups Projects
  1. Mar 08, 2023
  2. Dec 20, 2022
  3. May 28, 2022
  4. Aug 03, 2021
  5. Aug 21, 2020
  6. Mar 24, 2020
  7. Oct 31, 2018
    • Michael Roth's avatar
      qga-win: install service with --retry-path set by default · ebc88c0e
      Michael Roth authored
      
      It's nicer from a management perspective that the agent can survive
      hotplug/unplug of the channel device, or be started prior to the
      installation of the channel device's driver without and still be able
      to resume normal function afterward. On linux there are alternatives
      like systemd to support this, but on w32 --retry-path is the only
      option so it makes sense to set it by default when installed as a
      w32 service.
      
      Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
      ebc88c0e
  8. Jul 03, 2018
  9. Jul 17, 2017
  10. Apr 07, 2016
    • Yuri Pudgorodskiy's avatar
      qga: Workaround for console redirection from non-interactive qemu-ga service · 27559c21
      Yuri Pudgorodskiy authored
      
      mingw-glib uses helper process to assist gspawn() api. There are two
      versions of helpers, one with main() and another with WinMain() startup
      routines.
      
      Whenever gspawn() detects consoleless environment (and qemu-ga is running
      in such environment as Win32 service), it chooses helper with main()
      instead of WinMain. It is done by name, e.g.
      gspawn-win32-helper-console.exe vs gspawn-win32-helper.exe
      
      Running console-aware application like any win32 console apps from main()
      crt initalized process results in redirection of stdout to console created
      in crt startup instead of parent-provided handle connected to subprocess
      pipe. Thus, stdout/stderr redirection do not work correctly.
      
      The patch makes WinMain()'s version of helper be used as the only helper
      shipped with qemu-ga package. Using only win32 helper ensures console
      is created before any redirection and fixes stdout/stderr redirection
      issue.
      
      Signed-off-by: default avatarYuri Pudgorodskiy <yur@virtuozzo.com>
      Signed-off-by: default avatarDenis V. Lunev <den@openvz.org>
      CC: Michael Roth <mdroth@linux.vnet.ibm.com>
      Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
      27559c21
  11. Feb 25, 2016
  12. Nov 25, 2015
  13. Sep 01, 2015
  14. Jun 17, 2015
Loading