qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/4] io: Various fixes around QIOChannel Features
@ 2016-09-29 15:52 Felipe Franciosi
  2016-09-29 15:52 ` [Qemu-devel] [PATCH v3 1/4] io: Fix double shift usages on QIOChannel features Felipe Franciosi
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Felipe Franciosi @ 2016-09-29 15:52 UTC (permalink / raw)
  To: berrange, marcandre.lureau; +Cc: pbonzini, qemu-devel, Felipe Franciosi

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(-)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-10-01 15:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-29 15:52 [Qemu-devel] [PATCH v3 0/4] io: Various fixes around QIOChannel Features Felipe Franciosi
2016-09-29 15:52 ` [Qemu-devel] [PATCH v3 1/4] io: Fix double shift usages on QIOChannel features Felipe Franciosi
2016-09-29 15:52 ` [Qemu-devel] [PATCH v3 2/4] io: Use qio_channel_has_feature() where applicable Felipe Franciosi
2016-09-29 15:52 ` [Qemu-devel] [PATCH v3 3/4] io: Introduce a qio_channel_set_feature() helper Felipe Franciosi
2016-09-29 15:52 ` [Qemu-devel] [PATCH v3 4/4] io: Add a QIOChannelSocket cleanup test Felipe Franciosi
2016-09-29 16:32 ` [Qemu-devel] [PATCH v3 0/4] io: Various fixes around QIOChannel Features Daniel P. Berrange
2016-10-01 15:33   ` Felipe Franciosi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).