1. 23 12月, 2015 1 次提交
  2. 22 12月, 2015 1 次提交
  3. 18 12月, 2015 1 次提交
    • D
      io: add abstract QIOChannel classes · 666a3af9
      Daniel P. Berrange 提交于
      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: NDaniel P. Berrange <berrange@redhat.com>
      666a3af9
  4. 10 12月, 2015 1 次提交
  5. 25 11月, 2015 1 次提交
  6. 19 11月, 2015 1 次提交
  7. 12 11月, 2015 2 次提交
  8. 03 11月, 2015 1 次提交
  9. 20 10月, 2015 2 次提交
    • D
      util: pull Buffer code out of VNC module · 88c5f205
      Daniel P. Berrange 提交于
      The Buffer code in the VNC server is useful for the IO channel
      code, so pull it out into a shared module, QIOBuffer.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      88c5f205
    • D
      coroutine: move into libqemuutil.a library · 10817bf0
      Daniel P. Berrange 提交于
      The coroutine files are currently referenced by the block-obj-y
      variable. The coroutine functionality though is already used by
      more than just the block code. eg migration code uses coroutine
      yield. In the future the I/O channel code will also use the
      coroutine yield functionality. Since the coroutine code is nicely
      self-contained it can be easily built as part of the libqemuutil.a
      library, making it widely available.
      
      The headers are also moved into include/qemu, instead of the
      include/block directory, since they are now part of the util
      codebase, and the impl was never in the block/ directory
      either.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      10817bf0
  10. 13 10月, 2015 8 次提交
  11. 09 10月, 2015 1 次提交
  12. 06 10月, 2015 1 次提交
  13. 25 9月, 2015 9 次提交
  14. 24 9月, 2015 1 次提交
  15. 18 9月, 2015 1 次提交
  16. 16 9月, 2015 1 次提交
  17. 03 9月, 2015 1 次提交
  18. 02 9月, 2015 1 次提交
  19. 25 8月, 2015 2 次提交
  20. 13 8月, 2015 1 次提交
  21. 14 7月, 2015 1 次提交
  22. 07 7月, 2015 1 次提交
    • D
      crypto: introduce new module for computing hash digests · ddbb0d09
      Daniel P. Berrange 提交于
      Introduce a new crypto/ directory that will (eventually) contain
      all the cryptographic related code. This initially defines a
      wrapper for initializing gnutls and for computing hashes with
      gnutls. The former ensures that gnutls is guaranteed to be
      initialized exactly once in QEMU regardless of CLI args. The
      block quorum code currently fails to initialize gnutls so it
      only works by luck, if VNC server TLS is not requested. The
      hash APIs avoids the need to litter the rest of the code with
      preprocessor checks and simplifies callers by allocating the
      correct amount of memory for the requested hash.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      Message-Id: <1435770638-25715-2-git-send-email-berrange@redhat.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      ddbb0d09