]> Git Repo - qemu.git/commit
vhost-user: Don't pass file descriptor for VHOST_USER_REM_MEM_REG
authorKevin Wolf <[email protected]>
Thu, 7 Apr 2022 13:36:57 +0000 (15:36 +0200)
committerKevin Wolf <[email protected]>
Wed, 4 May 2022 13:55:23 +0000 (15:55 +0200)
commita81d8d4a7203e4be392f9ad37af104759b7cbda5
tree33732983c7d7ab8d292ddefedf7d50fa29c144db
parent5ebfdeb21223e0406a711decbb2baceb5ec8c416
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 <[email protected]>
Message-Id: <20220407133657[email protected]>
Reviewed-by: Raphael Norwitz <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
hw/virtio/vhost-user.c
subprojects/libvhost-user/libvhost-user.c
This page took 0.024774 seconds and 4 git commands to generate.