[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Monitor brain dump
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] Monitor brain dump |
Date: |
Thu, 6 Oct 2016 13:14:01 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 |
On 06/10/2016 13:10, Peter Maydell wrote:
> On 6 October 2016 at 12:07, Paolo Bonzini <address@hidden> 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