]> git.proxmox.com Git - mirror_qemu.git/commit
qemu-ga: move channel/transport functionality into wrapper class
authorMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 19 Jan 2012 06:18:20 +0000 (00:18 -0600)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 23 Feb 2012 21:40:16 +0000 (15:40 -0600)
commit125b310e1d62e3a1dc1e7758563e598957ca7ae4
treeaca43fc6a3a4b83456a9875c2b5267933f7b42b6
parent54383726dd6e751288b026845ad00c034404098a
qemu-ga: move channel/transport functionality into wrapper class

This is mostly in preparation for the win32 port, which won't use
GIO channels for reasons that will be made clearer later. Here the
GAChannel class is just a loose wrapper around GIOChannel
calls/callbacks, but we also roll in the logic/configuration for
various channel types and managing unix socket connections, which makes
the abstraction much more complete and further aids in the win32 port
since isa-serial/unix-listen will not be supported initially.

There's also a bit of refactoring in the main logic to consolidate the
exit paths so we can do common cleanup for things like pid files, which
weren't always cleaned up previously.
Makefile.objs
qemu-ga.c
qga/channel-posix.c [new file with mode: 0644]
qga/channel.h [new file with mode: 0644]
qga/guest-agent-core.h