summaryrefslogtreecommitdiff
path: root/Makefile.target
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2015-02-27 16:19:33 +0000
committerDaniel P. Berrange <berrange@redhat.com>2015-12-18 12:18:05 +0000
commit666a3af9c858c22d254e545de3ffc3fb197a3187 (patch)
tree8af3c9f273760b5181ce5bfe308915f6580d928c /Makefile.target
parent6a6533213d78dea4407fe6933ad489796b582599 (diff)
downloadqemu-666a3af9c858c22d254e545de3ffc3fb197a3187.tar.gz
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>
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.target b/Makefile.target
index 962d0045ff..34ddb7e762 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -176,6 +176,7 @@ dummy := $(call unnest-vars,.., \
crypto-obj-y \
crypto-aes-obj-y \
qom-obj-y \
+ io-obj-y \
common-obj-y \
common-obj-m)
target-obj-y := $(target-obj-y-save)
@@ -185,6 +186,7 @@ all-obj-y += $(qom-obj-y)
all-obj-$(CONFIG_SOFTMMU) += $(block-obj-y)
all-obj-$(CONFIG_USER_ONLY) += $(crypto-aes-obj-y)
all-obj-$(CONFIG_SOFTMMU) += $(crypto-obj-y)
+all-obj-$(CONFIG_SOFTMMU) += $(io-obj-y)
$(QEMU_PROG_BUILD): config-devices.mak