Re: [Qemu-devel] [PATCH v2 0/3] Clean up includes of monitor.h

2012-06-12 Thread Luiz Capitulino
On Thu, 7 Jun 2012 04:02:19 +0200 Paolo Bonzini wrote: > There is no reason why QAPI clients should use monitor.h at all, > qerror.h suffices. > > qmp-commands.h uses the Monitor typedef, but it is only included > from files that already get the typedef from qemu-common.h. Applied to the qmp b

[Qemu-devel] [PATCH v2 0/3] Clean up includes of monitor.h

2012-06-06 Thread Paolo Bonzini
There is no reason why QAPI clients should use monitor.h at all, qerror.h suffices. qmp-commands.h uses the Monitor typedef, but it is only included from files that already get the typedef from qemu-common.h. v1->v2: rebase to queue/qmp Paolo Bonzini (3): kvm: add missing include files qmp: