Received: from eggs.gnu.org ([2001:4830:134:3::10]:38977) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXqo4-0002mR-NG for qemu-devel@nongnu.org; Tue, 17 Mar 2015 08:41:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YXqnz-00030T-Jz for qemu-devel@nongnu.org; Tue, 17 Mar 2015 08:41:12 -0400 Received: from e06smtp10.uk.ibm.com ([195.75.94.106]:48233) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXqnz-000302-9u for qemu-devel@nongnu.org; Tue, 17 Mar 2015 08:41:07 -0400 Received: from /spool/local by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 17 Mar 2015 12:41:05 -0000 Date: Tue, 17 Mar 2015 13:40:56 +0100 From: Thomas Huth Message-ID: <20150317134056.5485884b@oc7435384737.ibm.com> In-Reply-To: <1426594797.27188.103.camel@nilsson.home.kraxel.org> References: <1426311215-12764-1-git-send-email-thuth@linux.vnet.ibm.com> <1426593930.27188.96.camel@nilsson.home.kraxel.org> <1426594797.27188.103.camel@nilsson.home.kraxel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] hw/usb: Include USB files only if necessary List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org On Tue, 17 Mar 2015 13:19:57 +0100 Gerd Hoffmann wrote: > On Di, 2015-03-17 at 13:05 +0100, Gerd Hoffmann wrote: > > On Sa, 2015-03-14 at 06:33 +0100, Thomas Huth wrote: > > > Boards that do not include an USB controller should not provide > > > USB devices. However, when running "qemu-system-s390x -device help" > > > for example, there's still a usb-hub, usb-kbd, usb-mouse and > > > usb-tablet in the list of "supported" devices. Let's fix that > > > by compiling and linking the USB files only if it's really > > > necessary. > > > > Added to usb queue. > > Removed, fails to build. > > Needs a complete rebuild due to the new CONFIG_USB option. Hardly > avoidable I guess. But even with that done I still get this: > > LINK lm32-softmmu/qemu-system-lm32 > ../hw/usb/redirect.o: In function `usbredir_bulk_packet': > /home/kraxel/projects/qemu/hw/usb/redirect.c:1978: undefined reference > to `usb_combined_input_packet_complete' Oh, sorry, seems like I missed the "--enable-usb-redir" configure option ... I'll have a look and rework my patch... Thomas