]> Git Repo - qemu.git/commit
virtio-serial-bus: use bh for unthrottling
authorAlon Levy <[email protected]>
Fri, 29 Apr 2011 11:25:06 +0000 (14:25 +0300)
committerAmit Shah <[email protected]>
Fri, 27 May 2011 10:20:55 +0000 (15:50 +0530)
commit199646d81522509ac2dba6d28c31e8c7d807bc93
tree18d4fc8c481f03ccfebff3c2a3a24647954764de
parentaa29141d84d58171c2d219f0a4b599bd76fb2e37
virtio-serial-bus: use bh for unthrottling

Instead of calling flush_queued_data when unthrottling, schedule
a bh. That way we can return immediately to the caller, and the
flush uses the same call path as a have_data for callbackee.

No migration change is required because bh are called from vm_stop.

Signed-off-by: Alon Levy <[email protected]>
Signed-off-by: Amit Shah <[email protected]>
hw/virtio-serial-bus.c
hw/virtio-serial.h
This page took 0.027454 seconds and 4 git commands to generate.