]> git.proxmox.com Git - mirror_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)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 11 Oct 2018 18:58:26 +0000 (19:58 +0100)
commit5ce43896e1679e706db1562d0e2d86ad428ed1e6
tree409beba37e64ad70417d1354498ae40c887c4ab8
parentc4f753859ae6da1aeb93cad19c586fea1925e269
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>
hw/virtio/vhost-user.c