diff options
author | John Levon <john.levon@nutanix.com> | 2020-11-24 09:43:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-24 09:43:59 +0000 |
commit | 5d58b0a7c30fb5b5a1167dc49b1322447b139f71 (patch) | |
tree | a1ae7b5dae7ff352566103ec6c61a14b9de80ee5 /lib/irq.c | |
parent | 3b8d4018aa01cb4896b27cff1777beec20d27096 (diff) | |
download | libvfio-user-5d58b0a7c30fb5b5a1167dc49b1322447b139f71.zip libvfio-user-5d58b0a7c30fb5b5a1167dc49b1322447b139f71.tar.gz libvfio-user-5d58b0a7c30fb5b5a1167dc49b1322447b139f71.tar.bz2 |
refactor sock send/recv functions (#114)
Use shorter, more readable, function names, add re-jig the wrappers such that
the most common operations are shortest.
Diffstat (limited to 'lib/irq.c')
-rw-r--r-- | lib/irq.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -413,10 +413,10 @@ lm_irq_message(lm_ctx_t *lm_ctx, uint32_t subindex) } irq_info.subindex = subindex; - ret = send_recv_vfio_user_msg(lm_ctx->conn_fd, msg_id, - VFIO_USER_VM_INTERRUPT, - &irq_info, sizeof irq_info, - NULL, 0, NULL, NULL, 0); + ret = vfio_user_msg(lm_ctx->conn_fd, msg_id, + VFIO_USER_VM_INTERRUPT, + &irq_info, sizeof irq_info, + NULL, NULL, 0); if (ret < 0) { /* FIXME should return -errno */ errno = -ret; |