diff options
| author | Felipe Franciosi | 2016-09-29 17:52:37 +0200 |
|---|---|---|
| committer | Daniel P. Berrange | 2016-10-26 18:19:53 +0200 |
| commit | d8d3c7cc672d89b26180a404d6f0b03494160cf5 (patch) | |
| tree | 535d38ccf68e12031a5bda318753a145c264428b /linux-user/linux_loop.h | |
| parent | io: Use qio_channel_has_feature() where applicable (diff) | |
| download | qemu-d8d3c7cc672d89b26180a404d6f0b03494160cf5.tar.gz qemu-d8d3c7cc672d89b26180a404d6f0b03494160cf5.tar.xz qemu-d8d3c7cc672d89b26180a404d6f0b03494160cf5.zip | |
io: Introduce a qio_channel_set_feature() helper
Testing QIOChannel feature support can be done with a helper called
qio_channel_has_feature(). Setting feature support, however, was
done manually with a logical OR. This patch introduces a new helper
called qio_channel_set_feature() and makes use of it where applicable.
Signed-off-by: Felipe Franciosi <felipe@nutanix.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'linux-user/linux_loop.h')
0 files changed, 0 insertions, 0 deletions
