Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NJuqq-0007mw-9U for qemu-devel@nongnu.org; Sun, 13 Dec 2009 15:15:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NJuql-0007lo-H4 for qemu-devel@nongnu.org; Sun, 13 Dec 2009 15:15:31 -0500 Received: from [199.232.76.173] (port=34304 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NJuql-0007ll-7O for qemu-devel@nongnu.org; Sun, 13 Dec 2009 15:15:27 -0500 Received: from cantor.suse.de ([195.135.220.2]:40816 helo=mx1.suse.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NJuqk-0004mv-V7 for qemu-devel@nongnu.org; Sun, 13 Dec 2009 15:15:27 -0500 References: <20091213145132.GA11258@redhat.com> <20091213190839.GA25519@redhat.com> <20091213195809.GA25615@redhat.com> Message-Id: From: Alexander Graf In-Reply-To: <20091213195809.GA25615@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (iPhone Mail 7A341) Date: Sun, 13 Dec 2009 21:15:30 +0100 Subject: [Qemu-devel] Re: link failure with s390 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: "qemu-devel@nongnu.org" Am 13.12.2009 um 20:58 schrieb "Michael S. Tsirkin" : > On Sun, Dec 13, 2009 at 08:21:57PM +0100, Alexander Graf wrote: >> >> On 13.12.2009, at 20:08, Michael S. Tsirkin wrote: >> >>> On Sun, Dec 13, 2009 at 06:30:56PM +0100, Alexander Graf wrote: >>>> >>>> On 13.12.2009, at 15:51, Michael S. Tsirkin wrote: >>>> >>>>> s390-virtio-bus.o: In function `virtio_s390_notify': >>>>> /scm/qemu/hw/s390-virtio-bus.c:310: undefined reference to >>>>> `kvm_s390_virtio_irq' >>>>> >>>> >>>> Are you sure you're building with --enable-kvm? >>> >>> No, I did ./configure --taget-list=s390x-softmmu >>> >>>> Currently there's no emulation target for S390. >>> >>> So either configure should fail without --enable-kvm, >>> or better enable kvm by default. >> >> Well, that's why you have to explicitly do --target-list=s390- >> softmmu. I'd love to see S390 bumped to a normal qemu arch with >> both TCG and KVM backends. But for now we don't have that. >> >> But yeah, we should probably add some sort of detection to >> configure, so it fails when you're building S390 on non-S390 and w/ >> o KVM :-). >> >> >> Alex > > By the way, where do you get kernel headers for s390 > which are required to build with --enable-kvm? > Which distro ships them? Uh, that's just the normal kernel headers, right? SLE11 definitely does ship them. Worst case you just install the kernel sources. Alex >