qemu: monitor: Factor out and document code to format QMP command
qemu: monitor: Factor out and document code to format QMP command

Move formatting of the qemu command out of qemuMonitorJSONMakeCommandRaw
to qemuMonitorJSONMakeCommandInternal to allow greater reusability and
document the function better.

Signed-off-by: Peter Krempa <2cf5c04c61aa466e4a47bfedc747d17279c72ffc@redhat.com>
Reviewed-by: John Ferlan <87558058f6f829e5ec976c8ef960720af4ff9c7d@redhat.com>

eskultety/libvirt,jardasgit/libvirt,jfehlig/libvirt,jfehlig/libvirt,olafhering/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,nertpinx/libvirt,libvirt/libvirt,jardasgit/libvirt,zippy2/libvirt,crobinso/libvirt,nertpinx/libvirt,andreabolognani/libvirt,crobinso/libvirt,fabianfreyer/libvirt,eskultety/libvirt,libvirt/libvirt,andreabolognani/libvirt,libvirt/libvirt,crobinso/libvirt,andreabolognani/libvirt,eskultety/libvirt,olafhering/libvirt,eskultety/libvirt,libvirt/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,olafhering/libvirt,nertpinx/libvirt,andreabolognani/libvirt,eskultety/libvirt,andreabolognani/libvirt,jardasgit/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,zippy2/libvirt,zippy2/libvirt,jfehlig/libvirt,olafhering/libvirt,nertpinx/libvirt,zippy2/libvirt,crobinso/libvirt,fabianfreyer/libvirt,jfehlig/libvirt