/qemu/hw/scsi/ |
H A D | mptendian.c | 63 void mptsas_fix_scsi_io_reply_endianness(MPIMsgSCSIIOReply *reply) in mptsas_fix_scsi_io_reply_endianness() argument 65 reply->MsgContext = cpu_to_le32(reply->MsgContext); in mptsas_fix_scsi_io_reply_endianness() 66 reply->IOCStatus = cpu_to_le16(reply->IOCStatus); in mptsas_fix_scsi_io_reply_endianness() 67 reply->IOCLogInfo = cpu_to_le32(reply->IOCLogInfo); in mptsas_fix_scsi_io_reply_endianness() 68 reply->TransferCount = cpu_to_le32(reply->TransferCount); in mptsas_fix_scsi_io_reply_endianness() 69 reply->SenseCount = cpu_to_le32(reply->SenseCount); in mptsas_fix_scsi_io_reply_endianness() 70 reply->ResponseInfo = cpu_to_le32(reply->ResponseInfo); in mptsas_fix_scsi_io_reply_endianness() 71 reply->TaskTag = cpu_to_le16(reply->TaskTag); in mptsas_fix_scsi_io_reply_endianness() 80 void mptsas_fix_scsi_task_mgmt_reply_endianness(MPIMsgSCSITaskMgmtReply *reply) in mptsas_fix_scsi_task_mgmt_reply_endianness() argument 82 reply->MsgContext = cpu_to_le32(reply->MsgContext); in mptsas_fix_scsi_task_mgmt_reply_endianness() [all …]
|
H A D | mptsas.c | 103 static void mptsas_post_reply(MPTSASState *s, MPIDefaultReply *reply) in mptsas_post_reply() argument 115 pci_dma_write(pci, addr_lo | s->host_mfa_high_addr, reply, in mptsas_post_reply() 116 MIN(s->reply_frame_size, 4 * reply->MsgLength)); in mptsas_post_reply() 128 void mptsas_reply(MPTSASState *s, MPIDefaultReply *reply) in mptsas_reply() argument 131 /* The reply is sent out in 16 bit chunks, while the size in mptsas_reply() 132 * in the reply is in 32 bit units. in mptsas_reply() 136 s->doorbell_reply_size = reply->MsgLength * 2; in mptsas_reply() 137 memcpy(s->doorbell_reply, reply, s->doorbell_reply_size * 2); in mptsas_reply() 141 mptsas_post_reply(s, reply); in mptsas_reply() 152 /* The reply is just the message context ID (bit 31 = clear). */ in mptsas_turbo_reply() [all …]
|
H A D | mptsas.h | 85 void mptsas_fix_scsi_io_reply_endianness(MPIMsgSCSIIOReply *reply); 87 void mptsas_fix_scsi_task_mgmt_reply_endianness(MPIMsgSCSITaskMgmtReply *reply); 89 void mptsas_fix_ioc_init_reply_endianness(MPIMsgIOCInitReply *reply); 91 void mptsas_fix_ioc_facts_reply_endianness(MPIMsgIOCFactsReply *reply); 93 void mptsas_fix_config_reply_endianness(MPIMsgConfigReply *reply); 95 void mptsas_fix_port_facts_reply_endianness(MPIMsgPortFactsReply *reply); 97 void mptsas_fix_port_enable_reply_endianness(MPIMsgPortEnableReply *reply); 99 void mptsas_fix_event_notification_reply_endianness(MPIMsgEventNotifyReply *reply); 101 void mptsas_reply(MPTSASState *s, MPIDefaultReply *reply);
|
H A D | mptconfig.c | 776 MPIMsgConfigReply reply; in mptsas_process_config() local 788 QEMU_BUILD_BUG_ON(sizeof(s->doorbell_reply) < sizeof(reply)); in mptsas_process_config() 790 /* Copy common bits from the request into the reply. */ in mptsas_process_config() 791 memset(&reply, 0, sizeof(reply)); in mptsas_process_config() 792 reply.Action = req->Action; in mptsas_process_config() 793 reply.Function = req->Function; in mptsas_process_config() 794 reply.MsgContext = req->MsgContext; in mptsas_process_config() 795 reply.MsgLength = sizeof(reply) / 4; in mptsas_process_config() 796 reply.PageType = req->PageType; in mptsas_process_config() 797 reply.PageNumber = req->PageNumber; in mptsas_process_config() [all …]
|
/qemu/nbd/ |
H A D | client.c | 101 /* Technically, a compliant server is supposed to reply to us; but in nbd_send_opt_abort() 103 * to disconnect without waiting for the server reply, so we don't in nbd_send_opt_abort() 110 /* Receive the header of an option reply, which should match the given 115 NBDOptionReply *reply, Error **errp) in nbd_receive_option_reply() argument 117 QEMU_BUILD_BUG_ON(sizeof(*reply) != 20); in nbd_receive_option_reply() 118 if (nbd_read(ioc, reply, sizeof(*reply), "option reply", errp) < 0) { in nbd_receive_option_reply() 122 reply->magic = be64_to_cpu(reply->magic); in nbd_receive_option_reply() 123 reply->option = be32_to_cpu(reply->option); in nbd_receive_option_reply() 124 reply->type = be32_to_cpu(reply->type); in nbd_receive_option_reply() 125 reply->length = be32_to_cpu(reply->length); in nbd_receive_option_reply() [all …]
|
H A D | trace-events | 5 …e, uint32_t type, const char *typename, uint32_t length) "Received option reply %" PRIu32" (%s), t… 7 nbd_reply_err_ignored(uint32_t option, const char *name, uint32_t reply, const char *reply_name) "s… 35 nbd_receive_simple_reply(int32_t error, const char *errname, uint64_t cookie) "Got simple reply: { … 36 …, uint16_t type, const char *name, uint64_t cookie, uint32_t length) "Got reply chunk header: { fl… 43 … const char *optname, uint32_t type, const char *typename, uint32_t len) "Reply opt=%" PRIu32 " (%… 67 …t cookie, uint32_t error, const char *errname, uint64_t len) "Send simple reply: cookie = %" PRIu6… 68 nbd_co_send_chunk_done(uint64_t cookie) "Send structured reply done: cookie = %" PRIu64 69 …e, uint64_t offset, void *data, uint64_t size) "Send structured read data reply: cookie = %" PRIu6… 70 …nt64_t cookie, uint64_t offset, uint64_t size) "Send structured read hole reply: cookie = %" PRIu6… 71 …d int extents, uint32_t id, uint64_t length, int last) "Send block status reply: cookie = %" PRIu6… [all …]
|
H A D | server.c | 41 * the reply as a denial of service attack. 198 /* Send a reply header, including length, but no payload. 215 /* Send a reply header with default 0 length. 223 /* Send an error reply. 251 * Return a malloc'd copy of @name suitable for use in an error reply. 263 /* Send an error reply. 278 /* Drop remainder of the current option, and send a reply with the 324 * sending a reply about inconsistent lengths, or 1 on success. */ 349 * sending a reply about inconsistent lengths, or 1 on success. */ 372 * sending a reply about inconsistent lengths, or 1 on success. [all …]
|
/qemu/python/qemu/qmp/ |
H A D | qmp_client.py | 75 :param received: The raw RPC error reply received. 96 terminated before a reply was received. 129 i.e. A reply has arrived from the server, but it is missing the "ID" 139 An execution reply was successfully routed, but not understood. 144 A reply message is malformed if it is missing either the 'return' or 149 :param msg: The malformed reply that was received. 223 # Incoming RPC reply messages. 305 reply = await self._recv() 306 assert 'return' in reply 307 assert 'error' not in reply [all …]
|
/qemu/docs/interop/ |
H A D | vhost-user-gpu.rst | 38 A vhost-user-gpu message (request and reply) consists of 3 header 52 - Bit 2 is the reply flag - needs to be set on each reply 195 :reply payload: ``u64`` 202 :reply payload: N/A 209 :reply payload: ``struct virtio_gpu_resp_display_info`` (from virtio specification) 216 :reply payload: N/A 223 :reply payload: N/A 230 :reply payload: N/A 237 :reply payload: N/A 245 :reply payload: N/A [all …]
|
H A D | vhost-user.rst | 80 - Bit 2 is the reply flag - needs to be sent on each reply from the back-end 415 reply it will close the connection. An optional reconnection mechanism 485 * still process and reply to messages from the front-end. 698 expected to reply with a zero payload, non-zero otherwise. 709 rely on the reply-ack feature, so the front-end may send a reply when 710 operation is completed if the reply-ack feature is negotiated and 711 back-ends requests a reply. For miss events, completed operation means 1064 :reply payload: ``u64`` 1075 :reply payload: N/A 1086 :reply payload: ``u64`` [all …]
|
H A D | barrier.rst | 188 that connections are still up and running. clients must reply in 190 does not receive a reply within a reasonable time then the server 379 Client should reply with a barrierCmdDInfo
|
/qemu/block/ |
H A D | nbd.c | 87 * Protects receiving reply headers from the socket, as well as the 88 * fields reply and requests[].receiving 91 NBDReply reply; member 427 if (s->reply.cookie == cookie) { in nbd_receive_replies() 432 if (s->reply.cookie != 0) { in nbd_receive_replies() 435 * woken by whoever set s->reply.cookie (or never wait in this in nbd_receive_replies() 438 ind2 = COOKIE_TO_INDEX(s->reply.cookie); in nbd_receive_replies() 450 * finished and s->reply.cookie set to 0. in nbd_receive_replies() 460 assert(s->reply.cookie == 0); in nbd_receive_replies() 461 ret = nbd_receive_reply(s->bs, s->ioc, &s->reply, s->info.mode, errp); in nbd_receive_replies() [all …]
|
/qemu/tests/qemu-iotests/ |
H A D | 083.out | 62 === Check disconnect before reply === 66 === Check disconnect after reply === 70 === Check disconnect 4 reply === 74 === Check disconnect 8 reply === 171 === Check disconnect before reply === 175 === Check disconnect after reply === 179 === Check disconnect 4 reply === 183 === Check disconnect 8 reply ===
|
H A D | nbd-fault-injector.py | 19 # "reply" - NBD reply struct 20 # "data" - request/reply data 172 conn.send(buf, event='reply') 200 if event not in ('neg-classic', 'neg1', 'export', 'neg2', 'request', 'reply', 'data'):
|
H A D | 083 | 113 for event in neg1 "export" neg2 request reply data; do 135 reply)
|
/qemu/tests/qtest/libqos/ |
H A D | virtio-9p-client.h | 106 /* only send Twalk request but not wait for a reply? (optional) */ 130 /* only send Tversion request but not wait for a reply? (optional) */ 157 /* only send Tattach request but not wait for a reply? (optional) */ 183 /* only send Tgetattr request but not wait for a reply? (optional) */ 205 /* only send Tsetattr request but not wait for a reply? (optional) */ 235 /* only send Treaddir request but not wait for a reply? (optional) */ 262 /* only send Tlopen request but not wait for a reply? (optional) */ 288 /* only send Twrite request but not wait for a reply? (optional) */ 310 /* only send Tflush request but not wait for a reply? (optional) */ 343 /* only send Tmkdir request but not wait for a reply? (optional) */ [all …]
|
/qemu/include/block/ |
H A D | nbd.h | 190 /* Client payload for limiting NBD_CMD_BLOCK_STATUS reply */ 252 /* Option reply types. */ 282 /* only one extent in BLOCK_STATUS reply chunk */ 316 * Three types of reply structures, but what a client expects depends 323 /* Chunk reply flags (for structured and extended replies) */ 324 #define NBD_REPLY_FLAG_DONE (1 << 0) /* This reply-chunk is last */ 326 /* Chunk reply types */ 407 NBDReply *reply, NBDMode mode, 474 static inline bool nbd_reply_is_simple(NBDReply *reply) in nbd_reply_is_simple() argument 476 return reply->magic == NBD_SIMPLE_REPLY_MAGIC; in nbd_reply_is_simple() [all …]
|
/qemu/scripts/ |
H A D | render_block_graph.py | 102 reply = json.loads(subprocess.check_output(ar)) 104 if 'error' in reply: 105 raise QMPError(reply) 107 return reply['return']
|
H A D | git-submodule.sh | 106 (while read -r REPLY; do 108 case $REPLY in 112 printf '%s\n' "$REPLY"
|
/qemu/hw/display/ |
H A D | vhost-user-gpu.c | 178 VhostUserGpuMsg reply = { in vhost_user_gpu_handle_display() local 188 vhost_user_gpu_send_msg(g, &reply); in vhost_user_gpu_handle_display() 196 VhostUserGpuMsg reply = { in vhost_user_gpu_handle_display() local 204 memcpy(&reply.payload.display_info, &display_info, in vhost_user_gpu_handle_display() 206 vhost_user_gpu_send_msg(g, &reply); in vhost_user_gpu_handle_display() 212 VhostUserGpuMsg reply = { in vhost_user_gpu_handle_display() local 215 .size = sizeof(reply.payload.resp_edid), in vhost_user_gpu_handle_display() 225 memcpy(&reply.payload.resp_edid, &resp, sizeof(resp)); in vhost_user_gpu_handle_display() 226 vhost_user_gpu_send_msg(g, &reply); in vhost_user_gpu_handle_display()
|
/qemu/include/gdbstub/ |
H A D | commands.h | 54 * "stop reply" packet. The list of commands that accept such response is 56 * https://sourceware.org/gdb/onlinedocs/gdb/Stop-Reply-Packets.html#Stop-Reply-Packets.
|
/qemu/docs/devel/ |
H A D | stable-process.rst | 49 * You can also reply to a patch and put ``qemu-stable@nongnu.org`` on copy 58 (preferably as a reply to the most recent patch submission) to
|
H A D | submitting-a-patch.rst | 28 You do not have to subscribe to post (list policy is to reply-to-all to 306 Send patches inline so they are easy to reply to with review comments. 325 in-reply-to the cover letter, but not to each other); single unrelated 329 than being buried in-reply-to another existing thread. 378 convenient 0/N email for others to reply to the series as a whole. A 487 When replying to comments on your patches **reply to all and not just 532 top-level thread, rather than burying it in-reply-to an earlier 567 When reviewing a large series, a reviewer can reply to some of the 585 week or two, by sending an email as a reply-to-all to the patch mail,
|
/qemu/hw/9pfs/ |
H A D | virtio-9p-device.c | 65 "the reply"); in handle_9p_output() 132 virtio_error(vdev, "Failed to encode VirtFS reply type %d", in virtio_pdu_vmarshal() 167 "VirtFS reply type %d needs %zu bytes, buffer has %zu", in virtio_init_in_iov_from_pdu()
|
/qemu/include/standard-headers/linux/ |
H A D | fuse.h | 246 * INIT request and reply respectively. 252 * reply with the major version it supports, ignore the rest of the 258 * communication and reply with that major version (and an arbitrary 385 * INIT request/reply flags 488 * CUSE INIT request/reply flags 604 FUSE_FORGET = 2, /* no reply */ 1233 * commit ID to be used in a reply to a ring request (see also
|