]> git.ipfire.org Git - thirdparty/qemu.git/commit
vhost-user: Don't ask for reply on postcopy mem table set
authorIlya Maximets <i.maximets@samsung.com>
Tue, 2 Oct 2018 14:09:47 +0000 (17:09 +0300)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 8 Apr 2019 21:47:37 +0000 (16:47 -0500)
commita0380bdae91be55e38af3d9e1ba30e82a5abecea
tree14eda71626d594d4dd86825a794c75f7421c30b9
parent8d2527617218cc65dfd978432b5e2159eb87ae5a
vhost-user: Don't ask for reply on postcopy mem table set

According to documentation, NEED_REPLY_MASK should not be set
for VHOST_USER_SET_MEM_TABLE request in postcopy mode.
This restriction was mistakenly applied to 'reply_supported'
variable, which is local and used only for non-postcopy case.

CC: Dr. David Alan Gilbert <dgilbert@redhat.com>
Fixes: 9bb38019942c ("vhost+postcopy: Send address back to qemu")
Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Message-Id: <20181002140947.4107-1-i.maximets@samsung.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
(cherry picked from commit 5ce43896e1679e706db1562d0e2d86ad428ed1e6)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/virtio/vhost-user.c