[Qemu-devel] [PATCH 2/3] qemu-char: add qemu_chr_be_connected

2012-11-28 Thread Alon Levy
This differs from qemu_chr_be_can_write in that it will return 1 as long as the backend is connected, including when the backend is connected but not available for receiving, as in the case of virtio-serial where the guest ring may be full. If no implementation is provided the backend reports alwa

Re: [Qemu-devel] [PATCH 2/3] qemu-char: add qemu_chr_be_connected

2012-11-28 Thread Markus Armbruster
Alon Levy writes: > This differs from qemu_chr_be_can_write in that it will return 1 as > long as the backend is connected, including when the backend is > connected but not available for receiving, as in the case of > virtio-serial where the guest ring may be full. > > If no implementation is pr