Home
last modified time | relevance | path

Searched full:message (Results 1 – 25 of 430) sorted by relevance

12345678910>>...18

/qemu/python/qemu/qmp/
H A Dqmp_client.py25 from .message import Message
74 :param sent: The sent RPC message that caused the failure.
78 sent: Message, received: Message): argument
80 #: The sent `Message` that caused the failure
81 self.sent: Message = sent
82 #: The received `Message` that indicated failure
83 self.received: Message = received
104 Abstract error class for protocol errors that have a `Message` object.
106 This Exception class is used for protocol errors where the `Message`
111 :param msg: The QMP `Message` that caused the error.
[all …]
H A Dmessage.py2 QMP Message Format
4 This module provides the `Message` class, which represents a single QMP
5 message sent to or from the server.
22 class Message(MutableMapping[str, object]): class
24 Represents a single QMP protocol message.
33 >>> msg = Message(b'{"hello": "world"}')
44 >>> msg = Message({"hello": "world"})
104 return f"Message({self._object!r})"
105 return f"Message({bytes(self)!r})"
108 """Pretty-printed representation of this QMP message."""
[all …]
H A Dqmp_tui.py40 from .message import DeserializationError, Message, UnexpectedTypeError
68 Formats valid/invalid multi-line JSON message into a single-line message.
82 The above input is not a valid QMP message and produces the following error
83 "QMP message is not a JSON object."
88 3 ]: QMP message is not a JSON object.
92 [1, true, 3]: QMP message is not a JSON object.
97 The message to formatted into single line.
99 :return: Formatted singleline message.
160 The raw message to be appended in string type.
164 def _cb_outbound(self, msg: Message) -> Message: argument
[all …]
H A Dprotocol.py2 Generic Asynchronous Message-based Protocol Support
169 AsyncProtocol implements a generic async message-based protocol.
172 client and server is a "message", the details of which are left up
191 Actions to be performed when a message is received.
226 # Outbound Message queue
277 Accept a connection and begin processing message queues.
333 Accept an incoming connection and begin processing message queues.
362 Connect to the server and begin processing message queues.
891 Wait for an outgoing message, then send it.
904 Wait for an incoming message and call `_on_message` to route it.
[all …]
H A Devents.py282 event, as a `Message`) and returns a bool; True if the event should be
289 def filter(event: Message) -> bool:
334 def filter(event: Message) -> bool:
362 incoming message for:
447 from .message import Message
451 EventFilter = Callable[[Message], bool]
485 self._queue: 'asyncio.Queue[Message]' = asyncio.Queue()
488 self._history: List[Message] = []
501 def history(self) -> Tuple[Message, ...]:
511 def accept(self, event: Message) -> bool: argument
[all …]
/qemu/include/hw/hyperv/
H A Ddynmem-proto.h50 * Message Types
136 * type: Type of the message.
137 * size: Size of the message in bytes; including the header.
148 * A generic message format for dynamic memory.
149 * Specific message formats are defined later in the file.
154 uint8_t data[]; /* enclosed message */
159 * Specific message types supporting the dynamic memory protocol.
163 * Version negotiation message. Sent from the guest to the host.
180 * Version response message; Host to Guest and indicates
197 * Message reporting capabilities. This is sent from the guest to the
[all …]
H A Dhyperv.h20 * Callback executed in a bottom-half when the status of posting the message
33 * Submit a message to be posted in vcpu context. If the submission succeeds,
34 * the status of posting the message is reported via the callback associated
50 * Associate @handler with the message connection @conn_id, such that @handler
65 * connection on the message contained therein.
/qemu/util/
H A Derror-report.c18 * @report_type is the type of message: error, warning or
180 * Print a message to current monitor if we have one, else to stderr.
181 * @report_type is the type of message: error, warning or informational.
182 * Format arguments like vsprintf(). The resulting message should be
220 * Print an error message to current monitor if we have one, else to stderr.
221 * Format arguments like vsprintf(). The resulting message should be
232 * Print a warning message to current monitor if we have one, else to stderr.
233 * Format arguments like vsprintf(). The resulting message should be
243 * Print an information message to current monitor if we have one, else to
245 * Format arguments like vsprintf(). The resulting message should be
[all …]
/qemu/target/s390x/
H A Dcpu_features.c247 FEAT_GROUP_INIT("msa", MSA, "Message-security-assist facility"),
248 FEAT_GROUP_INIT("msa1", MSA_EXT_1, "Message-security-assist-extension 1 facility"),
249 FEAT_GROUP_INIT("msa2", MSA_EXT_2, "Message-security-assist-extension 2 facility"),
250 FEAT_GROUP_INIT("msa3", MSA_EXT_3, "Message-security-assist-extension 3 facility"),
251 FEAT_GROUP_INIT("msa4", MSA_EXT_4, "Message-security-assist-extension 4 facility"),
252 FEAT_GROUP_INIT("msa5", MSA_EXT_5, "Message-security-assist-extension 5 facility"),
253 FEAT_GROUP_INIT("msa6", MSA_EXT_6, "Message-security-assist-extension 6 facility"),
254 FEAT_GROUP_INIT("msa7", MSA_EXT_7, "Message-security-assist-extension 7 facility"),
255 FEAT_GROUP_INIT("msa8", MSA_EXT_8, "Message-security-assist-extension 8 facility"),
256 FEAT_GROUP_INIT("msa9", MSA_EXT_9, "Message-security-assist-extension 9 facility"),
[all …]
/qemu/docs/devel/
H A Dwriting-monitor-commands.rst164 # @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
[all …]
/qemu/docs/interop/
H A Dvhost-user.rst24 message.
61 Message Specification
66 A vhost-user message consists of 3 header fields and a payload.
244 An IOTLB message
263 :type: an 8-bit IOTLB message type:
356 In QEMU the vhost-user message is implemented with the following struct:
385 The communication consists of the *front-end* sending message requests and
386 the *back-end* sending message replies. Most of the requests don't require
414 If *front-end* is unable to send the full message or receives a wrong
461 ``VHOST_USER_SET_VRING_KICK`` or receiving the in-band message
[all …]
H A Dbarrier.rst10 Message format
13 Message format between the server and client is in two parts:
66 The client screen must send this message in response to the
67 barrierCmdQInfo message. It must also send this message when the
123 response to this message for those clipboards that it has grabbed
189 kind on receipt. if the server gets an error sending the message or
192 message) periodically then it should disconnect from the server. the
425 message.
/qemu/tests/qtest/
H A Dlibqtest.h171 * @fmt: QMP message to send to qemu, formatted like
175 * Sends a QMP message to QEMU with fds and returns the response.
185 * @fmt: QMP message to send to qemu, formatted like
189 * Sends a QMP message to QEMU and returns the response.
197 * @fmt: QMP message to send to qemu, formatted like
201 * Sends a QMP message to QEMU and leaves the response in the stream.
231 * @fmt: QMP message to send to QEMU, formatted like
234 * @ap: QMP message arguments
236 * Sends a QMP message to QEMU with fds and returns the response.
246 * @fmt: QMP message to send to QEMU, formatted like
[all …]
/qemu/tests/functional/qemu_test/
H A Dcmd.py137 read and probed for a success or failure message
139 :param success_message: if this message appears, test succeeds
140 :param failure_message: if this message appears, test fails
154 read and probed for a success or failure message
156 :param success_message: if this message appears, test succeeds
157 :param failure_message: if this message appears, test fails
182 read and probed for a success or failure message
185 :param success_message: if this message appears, test succeeds
186 :param failure_message: if this message appears, test fails
/qemu/rust/qemu-api-macros/src/
H A Dbits.rs43 return Err(MacroError::Message("expected parenthesis".into(), g.span())); in parse_primary()
47 return Err(MacroError::Message( in parse_primary()
56 return Err(MacroError::Message( in parse_primary()
77 return Err(MacroError::Message("expected operand".into(), p.span())); in parse_primary()
80 return Err(MacroError::Message( in parse_primary()
90 return Err(MacroError::Message("unexpected literal".into(), tok.span())); in parse_primary()
121 return Err(MacroError::Message( in parse_binop()
201 return Err(MacroError::Message( in parse()
207 return Err(MacroError::Message( in parse()
222 return Err(MacroError::Message( in parse()
H A Dlib.rs23 return Err(MacroError::Message( in get_fields()
29 return Err(MacroError::Message( in get_fields()
39 return Err(MacroError::Message( in get_unnamed_field()
45 return Err(MacroError::Message( in get_unnamed_field()
51 return Err(MacroError::Message( in get_unnamed_field()
65 Err(MacroError::Message( in is_c_repr()
78 Err(MacroError::Message( in is_transparent_repr()
173 Err(MacroError::Message( in get_repr_uN()
181 return Err(MacroError::Message( in get_variants()
187 return Err(MacroError::Message( in get_variants()
/qemu/net/
H A Dl2tpv3.c222 struct msghdr message; in net_l2tpv3_receive_dgram_iov() local
236 message.msg_name = s->dgram_dst; in net_l2tpv3_receive_dgram_iov()
237 message.msg_namelen = s->dst_size; in net_l2tpv3_receive_dgram_iov()
238 message.msg_iov = s->vec; in net_l2tpv3_receive_dgram_iov()
239 message.msg_iovlen = iovcnt + 1; in net_l2tpv3_receive_dgram_iov()
240 message.msg_control = NULL; in net_l2tpv3_receive_dgram_iov()
241 message.msg_controllen = 0; in net_l2tpv3_receive_dgram_iov()
242 message.msg_flags = 0; in net_l2tpv3_receive_dgram_iov()
243 ret = RETRY_ON_EINTR(sendmsg(s->fd, &message, 0)); in net_l2tpv3_receive_dgram_iov()
269 struct msghdr message; in net_l2tpv3_receive_dgram() local
[all …]
/qemu/pc-bios/
H A Dedk2-licenses.txt147 2. Your commit message must include your "Signed-off-by" signature,
148 and "Contributed-under" message.
149 3. Your "Contributed-under" message explicitly states that the
151 contribution agreement. Your "Contributed-under" message
180 = Change Description / Commit Message / Patch Email =
184 commit message, and must include your "Signed-off-by" signature
185 and the "Contributed-under" message.
187 == Sample Change Description / Commit Message =
189 === Start of sample patch email message ===
194 Full-commit-message
[all …]
/qemu/include/qapi/
H A Derror.h170 * Pass an existing error to the caller with the message modified:
291 * Get @err's human-readable error message.
306 * If @errp is &error_abort, print a suitable message and abort().
307 * If @errp is &error_fatal, print a suitable message and exit(1).
310 * human-readable error message is made from printf-style @fmt, ...
311 * The resulting message should be a single phrase, with no newline or
326 * Just like error_setg(), with @os_error info added to the message.
328 * the human-readable error message.
343 * Just like error_setg(), with @win32_error info added to the message.
345 * is appended to the human-readable error message.
[all …]
/qemu/docs/specs/
H A Dvmw_pvscsi-spec.rst43 Message ring (``struct PVSCSIRingMsgDesc *msg_ring``)
60 Message interrupts (message ring notifications):
90 f. Unmask completion and message (if device messages enabled) interrupts
115 and message (if enabled) rings
/qemu/hw/net/can/
H A Dcan_sja1000.h35 /* The max size for a message buffer, EFF and DLC=8, DS-p39 */
47 uint8_t rxmsg_cnt; /* 29 .. RX message counter. DS-p49 */
89 SJA_RMC = 0x1d, /* Rx Message Counter
93 * address of current message
100 * ID bytes (11 bits in 0 and 1 for standard message or
101 * 16 bits in 0,1 and 13 bits in 2,3 for extended message)
/qemu/docs/
H A Drdma.txt146 An infiniband SEND message is the standard ibverbs
147 message used by applications of infiniband hardware.
148 The only difference between a SEND message and an RDMA
149 message is that SEND messages cause notifications
186 which is described by a formal protocol. Each SEND message has a
188 as a single SEND message).
196 in a single message without any need to change the protocol itself
202 limit based on the maximum size of a SEND message along with empirical
219 A single control message, as hinted above, can contain within the data
223 After connection setup, message 5 & 6 are used to exchange ram block
[all …]
/qemu/backends/
H A Ddbus-vmstate.c119 __func__, (*err)->message); in dbus_get_proxies()
185 error_report("%s: Failed to Load: %s", __func__, err->message); in dbus_load_state_proxy()
205 error_report("%s: Failed to get proxies: %s", __func__, err->message); in dbus_vmstate_post_load()
292 error_report("%s: Failed to read from stream: %s", __func__, err->message); in dbus_vmstate_post_load()
316 error_report("%s: Failed to Save: %s", __func__, err->message); in dbus_save_state_proxy()
338 __func__, err->message); in dbus_save_state_proxy()
354 error_report("%s: Failed to get proxies: %s", __func__, err->message); in dbus_vmstate_pre_save()
365 __func__, err->message); in dbus_vmstate_pre_save()
378 error_report("%s: Failed to close stream: %s", __func__, err->message); in dbus_vmstate_pre_save()
425 error_setg(errp, "failed to connect to DBus: '%s'", err->message); in dbus_vmstate_complete()
/qemu/hw/remote/
H A Dmpqemu-link.c24 * Send message over the ioc QIOChannel.
86 * Read message from the ioc QIOChannel.
134 error_setg(errp, "Message header corrupted"); in mpqemu_msg_recv()
139 error_setg(errp, "Invalid size for message"); in mpqemu_msg_recv()
152 error_setg(errp, "Unable to read full message"); in mpqemu_msg_recv()
184 * Returns the message received of size u64 or UINT64_MAX
234 /* Verify message specific fields. */ in mpqemu_msg_valid()
/qemu/ui/
H A Ddbus-listener.c233 error_report("Failed to call update: %s", err->message); in dbus_update_gl_cb()
305 error_report("Failed to setup dmabuf fdlist: %s", err->message); in dbus_scanout_dmabuf_v1()
357 error_report("Failed to setup dmabuf fdlist: %s", err->message); in dbus_scanout_dmabuf_v2()
452 g_debug("Failed to call ScanoutMap: %s", err->message); in dbus_scanout_map()
544 g_debug("Failed to setup scanout map fdlist: %s", err->message); in dbus_scanout_map()
563 g_debug("Failed to call ScanoutMap: %s", err->message); in dbus_scanout_map()
1057 g_debug("Failed to get peer credentials: %s", err->message); in dbus_display_listener_setup_peer_process()
1105 g_debug("Failed to setup win32 d3d11 proxy: %s", err->message); in dbus_display_listener_setup_d3d11()
1134 g_debug("Failed to setup win32 map proxy: %s", err->message); in dbus_display_listener_setup_shared_map()
1148 g_debug("Failed to setup Unix map proxy: %s", err->message); in dbus_display_listener_setup_shared_map()
[all …]

12345678910>>...18