Received: from eggs.gnu.org ([2001:4830:134:3::10]:37985) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZeSgS-0002bQ-La for qemu-devel@nongnu.org; Tue, 22 Sep 2015 14:52:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZeSgP-0003zf-FY for qemu-devel@nongnu.org; Tue, 22 Sep 2015 14:52:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52315) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZeSgP-0003z2-AL for qemu-devel@nongnu.org; Tue, 22 Sep 2015 14:52:53 -0400 Date: Tue, 22 Sep 2015 15:52:49 -0300 From: Eduardo Habkost Message-ID: <20150922185249.GE13681@thinpad.lan.raisama.net> References: <1442588324-11365-1-git-send-email-yuanhan.liu@linux.intel.com> <1442588324-11365-7-git-send-email-yuanhan.liu@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1442588324-11365-7-git-send-email-yuanhan.liu@linux.intel.com> Subject: Re: [Qemu-devel] [PATCH v10 6/7] vhost-user: add multiple queue support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Yuanhan Liu Cc: jasowang@redhat.com, mst@redhat.com, qemu-devel@nongnu.org, Changchun.ouyang@hotmail.com, Changchun Ouyang On Fri, Sep 18, 2015 at 10:58:43PM +0800, Yuanhan Liu wrote: [...] > diff --git a/net/vhost-user.c b/net/vhost-user.c > index 93dcecd..4fa3d64 100644 > --- a/net/vhost-user.c > +++ b/net/vhost-user.c [...] > + if (i == 0) { > + max_queues = vhost_net_get_max_queues(s->vhost_net); This breaks arm-softmmu (and any target that doesn't have CONFIG_VHOST_NET): $ make subdir-arm-softmmu CC arm-softmmu/hw/net/vhost_net.o LINK arm-softmmu/qemu-system-arm ../net/vhost-user.o: In function `vhost_user_start': /home/ehabkost/rh/proj/virt/qemu/net/vhost-user.c:88: undefined reference to `vhost_net_get_max_queues' collect2: error: ld returned 1 exit status Makefile:193: recipe for target 'qemu-system-arm' failed make[1]: *** [qemu-system-arm] Error 1 Makefile:184: recipe for target 'subdir-arm-softmmu' failed make: *** [subdir-arm-softmmu] Error 2 -- Eduardo