]> git.proxmox.com Git - mirror_qemu.git/commit
io: add abstract QIOChannel classes
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 27 Feb 2015 16:19:33 +0000 (16:19 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 18 Dec 2015 12:18:05 +0000 (12:18 +0000)
commit666a3af9c858c22d254e545de3ffc3fb197a3187
tree8af3c9f273760b5181ce5bfe308915f6580d928c
parent6a6533213d78dea4407fe6933ad489796b582599
io: add abstract QIOChannel classes

Start the new generic I/O channel framework by defining a
QIOChannel abstract base class. This is designed to feel
similar to GLib's GIOChannel, but with the addition of
support for using iovecs, qemu error reporting, file
descriptor passing, coroutine integration and use of
the QOM framework for easier sub-classing.

The intention is that anywhere in QEMU that almost
anywhere that deals with sockets will use this new I/O
infrastructure, so that it becomes trivial to then layer
in support for TLS encryption. This will at least include
the VNC server, char device backend and migration code.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
MAINTAINERS
Makefile
Makefile.objs
Makefile.target
include/io/channel.h [new file with mode: 0644]
io/Makefile.objs [new file with mode: 0644]
io/channel.c [new file with mode: 0644]