Received: from eggs.gnu.org ([2001:4830:134:3::10]:57545) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YL1SR-0003OM-S7 for qemu-devel@nongnu.org; Mon, 09 Feb 2015 22:25:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YL1SK-00013f-Hm for qemu-devel@nongnu.org; Mon, 09 Feb 2015 22:25:50 -0500 Received: from szxga02-in.huawei.com ([119.145.14.65]:26320) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YL1SJ-00011m-OQ for qemu-devel@nongnu.org; Mon, 09 Feb 2015 22:25:44 -0500 From: linhaifeng Date: Tue, 10 Feb 2015 11:24:46 +0800 Message-ID: <1423538687-4784-1-git-send-email-haifeng.lin@huawei.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH 1/2] vhost-user: support SET_MEM_TABLE waite the result of mmap List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Linhaifeng , mst@redhat.com From: Linhaifeng Slave should reply to master and set u64 to 0 if mmap all regions success otherwise set u64 to 1. Signed-off-by: Linhaifeng --- docs/specs/vhost-user.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/specs/vhost-user.txt b/docs/specs/vhost-user.txt index 650bb18..c96bf6b 100644 --- a/docs/specs/vhost-user.txt +++ b/docs/specs/vhost-user.txt @@ -171,6 +171,7 @@ Message types Id: 5 Equivalent ioctl: VHOST_SET_MEM_TABLE Master payload: memory regions description + Slave payload: u64 (0:success >0:failed) Sets the memory map regions on the slave so it can translate the vring addresses. In the ancillary data there is an array of file descriptors -- 1.7.12.4