qemu-e2k/qga
Bishara AbuHattoum b70d6afe4d qga-win: changing --retry-path option behavior
Currently whenever the qemu-ga's service doesn't find the virtio-serial
the run_agent() loops in a QGA_RETRY_INTERVAL (default 5 seconds)
intervals and try to restart the qemu-ga which causes a synchronous loop.
Changed to wait and listen for the serial events by registering for
notifications a proper serial event handler that deals with events:
  DBT_DEVICEARRIVAL        indicates that the device has been inserted and
                           is available
  DBT_DEVICEREMOVECOMPLETE indicates that the devive has been removed
Which allow us to determine when the channel path is available for the
qemu-ga to restart.

Signed-off-by: Bishara AbuHattoum <bishara@daynix.com>
Signed-off-by: Sameeh Jubran <sameeh@daynix.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2018-10-31 09:04:20 -05:00
..
installer qga-win: install service with --retry-path set by default 2018-10-31 09:04:20 -05:00
vss-win32
channel-posix.c qga: use local path for local headers 2018-06-01 19:20:38 +03:00
channel-win32.c qga-win: report specific error when failing to open channel 2018-10-31 09:04:20 -05:00
channel.h
commands-posix.c qga: linux: return disk device in guest-get-fsinfo 2018-10-31 09:04:20 -05:00
commands-win32.c qga: fix an off-by-one issue 2018-10-31 09:04:20 -05:00
commands.c
guest-agent-command-state.c qga: use local path for local headers 2018-06-01 19:20:38 +03:00
guest-agent-core.h
main.c qga-win: changing --retry-path option behavior 2018-10-31 09:04:20 -05:00
Makefile.objs
qapi-schema.json qga: linux: return disk device in guest-get-fsinfo 2018-10-31 09:04:20 -05:00
service-win32.c qga: Remove unnecessary glib.h includes 2016-06-07 18:19:24 +03:00
service-win32.h qga-win: changing --retry-path option behavior 2018-10-31 09:04:20 -05:00
vss-win32.c
vss-win32.h