Home
last modified time | relevance | path

Searched refs:VhostUserMsg (Results 1 – 9 of 9) sorted by relevance

/openbmc/qemu/subprojects/libvhost-user/
H A Dlibvhost-user.c489 vmsg_close_fds(VhostUserMsg *vmsg) in vmsg_close_fds()
499 static void vmsg_set_reply_u64(VhostUserMsg *vmsg, uint64_t val) in vmsg_set_reply_u64()
537 vu_message_read_default(VuDev *dev, int conn_fd, VhostUserMsg *vmsg) in vu_message_read_default()
607 vu_message_write(VuDev *dev, int conn_fd, VhostUserMsg *vmsg) in vu_message_write()
666 vu_send_reply(VuDev *dev, int conn_fd, VhostUserMsg *vmsg) in vu_send_reply()
682 vu_process_message_reply(VuDev *dev, const VhostUserMsg *vmsg) in vu_process_message_reply()
684 VhostUserMsg msg_reply; in vu_process_message_reply()
772 vu_get_features_exec(VuDev *dev, VhostUserMsg *vmsg) in vu_get_features_exec()
811 vu_set_features_exec(VuDev *dev, VhostUserMsg *vmsg) in vu_set_features_exec()
837 vu_set_owner_exec(VuDev *dev, VhostUserMsg *vmsg) in vu_set_owner_exec()
[all …]
H A Dlibvhost-user.h41 #define VHOST_USER_HDR_SIZE offsetof(VhostUserMsg, payload.u64)
195 typedef struct VhostUserMsg { struct
222 } VU_PACKED VhostUserMsg; argument
241 typedef int (*vu_process_msg_cb) (VuDev *dev, VhostUserMsg *vmsg,
243 typedef bool (*vu_read_msg_cb) (VuDev *dev, int sock, VhostUserMsg *vmsg);
/openbmc/qemu/hw/virtio/
H A Dvhost-user.c229 typedef struct VhostUserMsg { struct
232 } QEMU_PACKED VhostUserMsg; argument
234 static VhostUserMsg m __attribute__ ((unused));
275 static int vhost_user_read_header(struct vhost_dev *dev, VhostUserMsg *msg) in vhost_user_read_header()
303 static int vhost_user_read(struct vhost_dev *dev, VhostUserMsg *msg) in vhost_user_read()
339 const VhostUserMsg *msg) in process_message_reply()
342 VhostUserMsg msg_reply; in process_message_reply()
382 static int vhost_user_write(struct vhost_dev *dev, VhostUserMsg *msg, in vhost_user_write()
425 VhostUserMsg msg = { in vhost_user_gpu_set_socket()
441 VhostUserMsg msg = { in vhost_user_set_log_base()
[all …]
/openbmc/qemu/tests/qtest/
H A Dvhost-user-test.c112 typedef struct VhostUserMsg { struct
128 } QEMU_PACKED VhostUserMsg; argument
130 static VhostUserMsg m __attribute__ ((unused));
185 VhostUserMsg *msg);
187 CharBackend *chr, VhostUserMsg *msg);
337 VhostUserMsg msg; in chr_read()
1057 VhostUserMsg *msg) in vu_net_set_features()
1067 VhostUserMsg *msg) in vu_net_get_protocol_features()
1154 VhostUserMsg *msg) in vu_gpio_get_protocol_features()
1197 VhostUserMsg *msg) in vu_scmi_get_protocol_features()
/openbmc/qemu/util/
H A Dvhost-user-server.c57 static void vmsg_close_fds(VhostUserMsg *vmsg) in vmsg_close_fds()
65 static void vmsg_unblock_fds(VhostUserMsg *vmsg) in vmsg_unblock_fds()
111 vu_message_read(VuDev *vu_dev, int conn_fd, VhostUserMsg *vmsg) in vu_message_read()
/openbmc/qemu/tests/
H A Dvhost-user-bridge.c419 vubr_send_rarp_exec(VuDev *dev, VhostUserMsg *vmsg) in vubr_send_rarp_exec()
426 vubr_process_msg(VuDev *dev, VhostUserMsg *vmsg, int *do_reply) in vubr_process_msg()
/openbmc/qemu/block/export/
H A Dvhost-user-blk-server.c193 static int vu_blk_process_msg(VuDev *dev, VhostUserMsg *vmsg, int *do_reply) in vu_blk_process_msg()
/openbmc/qemu/docs/interop/
H A Dvhost-user.rst360 typedef struct VhostUserMsg {
375 } QEMU_PACKED VhostUserMsg;
547 The size of the log is supplied as part of ``VhostUserMsg`` which
1876 back-end MUST respond with a Payload ``VhostUserMsg`` indicating success
/openbmc/qemu/contrib/vhost-user-gpu/
H A Dvhost-user-gpu.c1123 vg_process_msg(VuDev *dev, VhostUserMsg *msg, int *do_reply) in vg_process_msg()