Home
last modified time | relevance | path

Searched hist:c767ae62b9efb2c9b2a757984ff1b14f89b49249 (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/io/
H A Dchannel-util.cc767ae62b9efb2c9b2a757984ff1b14f89b49249 Wed Feb 03 08:00:28 CST 2016 Daniel P. Berrange <berrange@redhat.com> io: introduce helper for creating channels from file descriptors

Depending on what object a file descriptor refers to a different
type of IO channel will be needed - either a QIOChannelFile or
a QIOChannelSocket. Introduce a qio_channel_new_fd() method
which will return the appropriate channel implementation.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
/openbmc/qemu/include/io/
H A Dchannel-util.hc767ae62b9efb2c9b2a757984ff1b14f89b49249 Wed Feb 03 08:00:28 CST 2016 Daniel P. Berrange <berrange@redhat.com> io: introduce helper for creating channels from file descriptors

Depending on what object a file descriptor refers to a different
type of IO channel will be needed - either a QIOChannelFile or
a QIOChannelSocket. Introduce a qio_channel_new_fd() method
which will return the appropriate channel implementation.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>