Re: [Qemu-devel] [PATCH 1/9] monitor: simplify monitor_qmp_setup_handlers_bh

2018-07-04 Thread Markus Armbruster
Peter Xu writes: > When we reach monitor_qmp_setup_handlers_bh() we must be using the > IOThread then, so no need to check against it any more. Instead, we > assert. > > Signed-off-by: Peter Xu > --- > monitor.c | 13 - > 1 file changed, 4 insertions(+), 9 deletions(-) > > diff --g

[Qemu-devel] [PATCH 1/9] monitor: simplify monitor_qmp_setup_handlers_bh

2018-07-04 Thread Peter Xu
When we reach monitor_qmp_setup_handlers_bh() we must be using the IOThread then, so no need to check against it any more. Instead, we assert. Signed-off-by: Peter Xu --- monitor.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/monitor.c b/monitor.c index 14af