From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH v2 1/2] kvm tools: Fix VHOST_SET_MEM_TABLE failure Date: Wed, 11 Jul 2012 19:09:39 +0300 Message-ID: <4FFDA543.2030304@redhat.com> References: <1342022894-1034-1-git-send-email-asias.hejun@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Pekka Enberg , Sasha Levin , Ingo Molnar , Cyrill Gorcunov , kvm@vger.kernel.org, "Michael S. Tsirkin" To: Asias He Return-path: Received: from mx1.redhat.com ([209.132.183.28]:16174 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932738Ab2GKQJz (ORCPT ); Wed, 11 Jul 2012 12:09:55 -0400 In-Reply-To: <1342022894-1034-1-git-send-email-asias.hejun@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: On 07/11/2012 07:08 PM, Asias He wrote: > VHOST_SET_MEM_TABLE failed: Operation not supported > > In vhost_set_memory(), We have > > if (mem.padding) > return -EOPNOTSUPP; > > So, we need to zero struct vhost_memory. > Is this due to a change in vhost? -- error compiling committee.c: too many arguments to function