Skip to content
  • Daniel P. Berrangé's avatar
    io: add abstract QIOChannel classes · 666a3af9
    Daniel P. Berrangé authored
    
    
    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: default avatarDaniel P. Berrange <berrange@redhat.com>
    666a3af9