diff options
| author | Peter Xu <peterx@redhat.com> | 2018-06-08 11:55:10 +0800 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2018-06-18 15:48:22 +0200 |
| commit | d32749deb61513c5456901f20e19887e1bc3d7f3 (patch) | |
| tree | 2febe5abcb63b6a30389c7e76227e643d5a673e4 /scripts/qapi/visit.py | |
| parent | 6e8c5f4db7cb74f6f00942a285b4ed6a130c244b (diff) | |
| download | focaccia-qemu-d32749deb61513c5456901f20e19887e1bc3d7f3.tar.gz focaccia-qemu-d32749deb61513c5456901f20e19887e1bc3d7f3.zip | |
monitor: move init global earlier
Before this patch, monitor fd helpers might be called even earlier than monitor_init_globals(). This can be problematic. After previous work, now monitor_init_globals() does not depend on accelerator initialization any more. Call it earlier (before CLI parsing; that's where the monitor APIs might be called) to make sure it is called before any of the monitor APIs. Suggested-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Peter Xu <peterx@redhat.com> Message-Id: <20180608035511.7439-7-peterx@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'scripts/qapi/visit.py')
0 files changed, 0 insertions, 0 deletions