Here's a patch that's much smaller: instead of trying to solve the whole problem, it fixes the specific bug I observe, that of net device traffic when vm is stopped confusing the bridge.
We can then slowly convert all other devices that need to be stopped on vmstop to this API. Comments? Michael S. Tsirkin (2): char: separate device and system fd handlers tap: mark fd handler as device hw/vhost_net.c | 2 +- net/tap.c | 3 +- qemu-char.h | 6 ++- qemu-kvm.c | 2 +- qemu-tool.c | 10 +++++ vl.c | 117 ++++++++++++++++++++++++++++++++++++------------------- 6 files changed, 95 insertions(+), 45 deletions(-) -- 1.7.3.2.91.g446ac