[Qemu-devel] [PULL v1 02/10] io: Use qio_channel_has_feature() where applicable

2016-10-20 Thread Daniel P. Berrange
From: Felipe Franciosi Parts of the code have been testing QIOChannel features directly with a logical AND. This patch makes it all consistent by using the qio_channel_has_feature() function to test if a feature is present. Signed-off-by: Felipe Franciosi Signed-off-by: Daniel P. Berrange ---

[Qemu-devel] [PULL v1 02/10] io: Use qio_channel_has_feature() where applicable

2016-10-19 Thread Daniel P. Berrange
From: Felipe Franciosi Parts of the code have been testing QIOChannel features directly with a logical AND. This patch makes it all consistent by using the qio_channel_has_feature() function to test if a feature is present. Signed-off-by: Felipe Franciosi Signed-off-by: Daniel P. Berrange ---