io: Use qio_channel_has_feature() where applicable
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 <felipe@nutanix.com> Signed-off-by:
Daniel P. Berrange <berrange@redhat.com>
Loading
Please register or sign in to comment