[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH][RESEND] char: Flush read buffer in mux_chr_can_
From: |
Jan Kiszka |
Subject: |
[Qemu-devel] Re: [PATCH][RESEND] char: Flush read buffer in mux_chr_can_read |
Date: |
Tue, 19 Oct 2010 17:26:38 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
Am 19.10.2010 17:22, Alexander Graf wrote:
>
> Am 19.10.2010 um 17:04 schrieb Jan Kiszka <address@hidden>:
>
>> Move the buffer flush from mux_chr_read to mux_chr_can_read. While the
>> latter is called periodically, the former will only be invoked when new
>> characters arrive at the back-end. This caused problems to front-end
>> drivers whenever they were unable to read data immediately, e.g.
>> virtio-console attached to stdio.
>
> This should help ny s390 virtio console issue, right? :) I'll try it out
> asap, worst case that might take until the weekend.
I think you already tried and still found some scenarios broken (we
still need to understand them IIRC). However, this one fixes at least
those virtio-console scenarios I tested (with x86 guests).
Jan
--
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux