From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42966) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpDcF-0006ht-SJ for qemu-devel@nongnu.org; Wed, 28 Sep 2016 08:05:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpDc9-0002dm-RS for qemu-devel@nongnu.org; Wed, 28 Sep 2016 08:05:34 -0400 Received: from 206-15-90-246.static.twtelecom.net ([206.15.90.246]:22654 helo=felipe-franciosi.localdomain) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpDc9-0002dI-Mg for qemu-devel@nongnu.org; Wed, 28 Sep 2016 08:05:29 -0400 From: Felipe Franciosi Date: Wed, 28 Sep 2016 05:05:17 -0700 Message-Id: <1475064320-8517-1-git-send-email-felipe@nutanix.com> Subject: [Qemu-devel] [PATCH 0/3] io: Various fixes around QIOChannel Features List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: berrange@redhat.com, marcandre.lureau@redhat.com Cc: pbonzini@redhat.com, qemu-devel@nongnu.org, Felipe Franciosi This series include three patches around the utilisation of QIOChannel features. The first patch actually fixes a bug, while the other two makes the test/set of features consistent by using helper functions. Felipe Franciosi (3): io: Fix double shift usages on QIOChannel features io: Use qio_channel_has_feature() where applicable io: Introduce a qio_channel_set_feature() helper include/io/channel.h | 16 +++++++++++++--- io/channel-socket.c | 12 +++++++----- io/channel-tls.c | 4 ++-- io/channel-websock.c | 4 ++-- io/channel.c | 11 +++++++++-- 5 files changed, 33 insertions(+), 14 deletions(-)