|
From: | Christian Borntraeger |
Subject: | Re: [Qemu-devel] [PATCHv2] Fix virtio-console failure on unconnected pty |
Date: | Thu, 29 Dec 2011 15:32:14 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.24) Gecko/20111108 Lightning/1.0b2 Thunderbird/3.1.16 |
> port->throttled never becomes true for qemu. Huh? What did I miss below? if (ret == -EAGAIN || (ret >= 0 && ret < buf_size)) { virtio_serial_throttle_port(port, true); | | V void virtio_serial_throttle_port(VirtIOSerialPort *port, bool throttle) { if (!port) { return; } trace_virtio_serial_throttle_port(port->id, throttle); port->throttled = throttle; <-------------------- WHOOOT! if (throttle) { return; } qemu_bh_schedule(port->bh); }
[Prev in Thread] | Current Thread | [Next in Thread] |