On 30 March 2017 at 14:35, Alexander Graf <ag...@suse.de> wrote: > When driving QEMU from the outside, we have basically no chance to > determine how quickly the guest OS picks up key events, so we usually > have to limit ourselves to very slow keyboard presses to make sure > the guest always has enough chance to pick them up. > > This patch adds trace events for when the guest polls for HID keyboard > events. That way we can be reasonably safely assume that the guest > handled that one key event and can type the next.
This feels like the wrong way to solve the problem to me. Maybe we should have something like the network and UART device models do where they can say "my queue is full, I cannot accept any more data from the outside world" ? thanks -- PMM