Lines Matching full:message
164 # @message: message to be printed (default: "Hello, world!")
166 # @times: how many times to print the message (default: 1)
171 'data': { '*message': 'str', '*times': 'int' } }
174 'message' of QAPI type 'str', and an argument 'times' of QAPI type
180 void qmp_hello_world(const char *message, bool has_times, int64_t times,
183 if (!message) {
184 message = "Hello, world";
191 printf("%s\n", message);
212 { "execute": "hello-world", "arguments": { "message": "We love QEMU" } }
228 Let's say we don't accept the string "message" to contain the word "love". If
231 void qmp_hello_world(const char *message, Error **errp)
233 if (message) {
234 if (strstr(message, "love")) {
238 printf("%s\n", message);
251 { "execute": "hello-world", "arguments": { "message": "all you need is love" } }
288 const char *message = qdict_get_try_str(qdict, "message");
291 qmp_hello_world(!!message, message, &err);
307 hmp_handle_error() which prints a message to the user, but we could do
318 .args_type = "message:s?",
319 .params = "hello-world [message]",
320 .help = "Print message to the standard output",
325 ``hello_world`` *message*
326 Print message to the standard output
607 message. Here's an implementation of the "info roms" HMP command::