Re: [PATCH v7 03/13] monitor: Use getter/setter functions for cur_mon

2020-10-02 Thread Markus Armbruster
Additional nitpick detail on Kevin's request. Kevin Wolf writes: > cur_mon really needs to be coroutine-local as soon as we move monitor > command handlers to coroutines and let them yield. As a first step, just > remove all direct accesses to cur_mon so that we can implement this in > the gette

[PATCH v7 03/13] monitor: Use getter/setter functions for cur_mon

2020-09-09 Thread Kevin Wolf
cur_mon really needs to be coroutine-local as soon as we move monitor command handlers to coroutines and let them yield. As a first step, just remove all direct accesses to cur_mon so that we can implement this in the getter function later. Signed-off-by: Kevin Wolf --- include/monitor/monitor.h