Skip to contentSkip to conversation

qemu-char: move msmouse registeration to msmouse.c

PATCH Amit Shah 2 participants 2 messages Mar 5, 2013 – Mar 24, 2013 2 messages not in the archive

lore
Share & tools
lore

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]

Amit Shah

author
#2 lore raw

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

#3 lore raw

Re: [Qemu-devel] [PATCH 00/19] chardev flow control

In reply to a message not in the archive
Quoted 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