qemu-char: move msmouse registeration to msmouse.c
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Review
Quoted 4 lines · Anthony Liguori
(quoted diff) +4
-0+static CharDriverState *qemu_chr_open_pp(QemuOpts *opts) +{ + return NULL; +}
I guess this was to fix up the compile broken by a previous commit. I've handled this in my rebase.
Amit
Re: [Qemu-devel] [PATCH 00/19] chardev flow control
In reply to a message not in the archiveQuoted 7 lines · Anthony Liguori
This series implements an idea from Paolo to introduce flow control in the char layer by converting all char backends to use GIOChannels internally. Then we can just use the existing IO watch support in glib to implement flow control.
This is based on a rebased version of an old series of mine plus a number of improvements from Amit Shah.
There is a problem with these changes, maybe just a small bug but I do not see a simple solution yet:
If an input channel signals readiness but the frontend has no space (can_read returns 0), the main loop will start busy-waiting, causing 100% CPU load.
It's trivial to reproduce: qemu-system-x86_64 -serial stdio -S, and then hit a key twice on that console.
Jan