qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v3 0/4] io: Various fixes around QIOChannel Features


From: Felipe Franciosi
Subject: [Qemu-devel] [PATCH v3 0/4] io: Various fixes around QIOChannel Features
Date: Thu, 29 Sep 2016 08:52:34 -0700

This series include four patches around the utilisation of QIOChannel
features. The first patch actually fixes a bug, while the next two
makes the test/set of features consistent by using helper functions.
The last patch adds a test to verify that the bug has been fixed.

Changes from v2:
 - Add a test which fails on master but passes with these fixes
 - Rebase on latest master

Changes from v1:
 - Fix two pointer declarations (were missing a star)
 - Fix a call to _set_features() which should be _set_feature()

Felipe Franciosi (4):
  io: Fix double shift usages on QIOChannel features
  io: Use qio_channel_has_feature() where applicable
  io: Introduce a qio_channel_set_feature() helper
  io: Add a QIOChannelSocket cleanup test

 include/io/channel.h           |   16 +++++++++++++---
 io/channel-socket.c            |   12 +++++++-----
 io/channel-tls.c               |    4 ++--
 io/channel-websock.c           |    4 ++--
 io/channel.c                   |   11 +++++++++--
 tests/test-io-channel-socket.c |   33 +++++++++++++++++++++++++++++++++
 6 files changed, 66 insertions(+), 14 deletions(-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]