]> Git Repo - qemu.git/commit
spice-qemu-char: write to chardev whatever amount it can read
authorMarc-AndrĂ© Lureau <[email protected]>
Wed, 5 Dec 2012 15:15:32 +0000 (16:15 +0100)
committerGerd Hoffmann <[email protected]>
Mon, 17 Dec 2012 13:01:41 +0000 (14:01 +0100)
commit07a54d704e62e2515db0b085d53d13a2f1b1b06a
tree0bb54e83794456d564c6c141bfbe5fdf10fc2500
parent938b8a36b65e44c44ca29245437f8d7ac0f826e8
spice-qemu-char: write to chardev whatever amount it can read

The current code waits until the chardev can read MIN(len, VMC_MAX)
But some chardev may never reach than amount, in fact some of them
will only ever accept write of 1. Fix the min computation and remove
the VMC_MAX constant.

Signed-off-by: Gerd Hoffmann <[email protected]>
spice-qemu-char.c
This page took 0.026096 seconds and 4 git commands to generate.