On 06/10/2016 13:10, Peter Maydell wrote:
> On 6 October 2016 at 12:07, Paolo Bonzini <pbonz...@redhat.com> wrote:
>> My hunch is that it would be a drop in the sea if monitor.c were
>> refactored properly.
> 
> Speaking of refactoring, is there scope for splitting things
> up so that if the foo subsystem needs to implement a monitor
> command it can just call a function for "register this monitor
> command handler" rather than having to add an entry to a single
> file listing all the commands ?

Sure...  I think the hardest part would be rigging the Makefiles to keep
the docs complete.

Paolo

Reply via email to