Kevin Wolf a81d8d4a72 vhost-user: Don't pass file descriptor for VHOST_USER_REM_MEM_REG
The spec clarifies now that QEMU should not send a file descriptor in a
request to remove a memory region. Change it accordingly.

For libvhost-user, this is a bug fix that makes it compatible with
rust-vmm's implementation that doesn't send a file descriptor. Keep
accepting, but ignoring a file descriptor for compatibility with older
QEMU versions.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20220407133657.155281-4-kwolf@redhat.com>
Reviewed-by: Raphael Norwitz <raphael.norwitz@nutanix.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2022-05-04 15:55:23 +02:00
..
2022-04-06 20:03:26 +01:00
2022-05-02 17:03:02 +02:00
2022-03-09 18:06:40 +00:00
2022-03-09 09:13:39 +00:00
2022-05-03 15:52:33 +04:00
2022-04-20 09:36:24 +02:00
2022-05-03 09:13:17 -07:00
2022-04-20 10:51:11 -07:00
2022-04-26 12:25:14 +02:00
2022-04-29 10:48:48 +10:00
2022-04-20 09:36:24 +02:00
2022-05-02 17:03:03 +02:00
2022-05-02 17:03:03 +02:00
2022-05-02 17:03:03 +02:00
2020-08-21 06:30:33 -04:00
2022-04-06 10:50:37 +02:00