[libvirt] [PATCH v4 4/7] qapi: Re-arrange monitor.c functions