On Fri, 12 Mar 2010 10:36:53 -0600 Anthony Liguori <aligu...@linux.vnet.ibm.com> wrote:
> On 03/12/2010 09:56 AM, Luiz Capitulino wrote: > >> Once the student(s) have gone through the trouble to familiarize > >> themselves with the monitor code, they would be well-positioned to > >> complete this extra bit. How difficult do you imagine it will be to > >> convert the remaining commands over to QObject? > >> > > Well, I won't set the goal to convert all of them, because seems > > too much work and Anthony has said that we may not want all the > > handlers available under QMP. So, this has to be discussed (preferably > > before GSoC starts for students). > > > > What I would like to see is a clean break between the human monitor and > QMP whereas the human monitor is implemented in terms of QMP. > > For instance, the x and xp commands are not very useful for QMP. > However, a generic memory read/write API would be pretty useful. The > x/xp commands would be implemented in terms of the memory QMP API. > > Likewise, the sum command can be implemented in terms of the above API. Right, makes sense. So, we need to convert them all but maybe not make all of them available under QMP.