Revision 13661089 qmp-commands.hx

b/qmp-commands.hx
919 919
EQMP
920 920

  
921 921
    {
922
        .name       = "add_client",
923
        .args_type  = "protocol:s,fdname:s,skipauth:b?",
924
        .params     = "protocol fdname skipauth",
925
        .help       = "add a graphics client",
926
        .user_print = monitor_user_noop,
927
        .mhandler.cmd_new = add_graphics_client,
928
    },
929

  
930
SQMP
931
add_client
932
----------
933

  
934
Add a graphics client
935

  
936
Arguments:
937

  
938
- "protocol": protocol name (json-string)
939
- "fdname": file descriptor name (json-string)
940

  
941
Example:
942

  
943
-> { "execute": "add_client", "arguments": { "protocol": "vnc",
944
                                             "fdname": "myclient" } }
945
<- { "return": {} }
946

  
947
EQMP
948
    {
922 949
        .name       = "qmp_capabilities",
923 950
        .args_type  = "",
924 951
        .params     = "",

Also available in: Unified diff