Received: from eggs.gnu.org ([2001:4830:134:3::10]:41681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6Kk6-0005da-VH for qemu-devel@nongnu.org; Thu, 23 Jan 2014 08:54:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W6Kjz-0002g1-Ri for qemu-devel@nongnu.org; Thu, 23 Jan 2014 08:54:50 -0500 Received: from smtp.citrix.com ([66.165.176.89]:63731) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6Kjz-0002fp-Nf for qemu-devel@nongnu.org; Thu, 23 Jan 2014 08:54:43 -0500 Date: Thu, 23 Jan 2014 13:54:40 +0000 From: Wei Liu Message-ID: <20140123135440.GF24675@zion.uk.xensource.com> References: <52CAEF54.7030901@suse.de> <52CB17D1.2060400@redhat.com> <20140107123417.GG10654@zion.uk.xensource.com> <52CC01F6.6050502@redhat.com> <20140121182745.GA23328@zion.uk.xensource.com> <52DF9B76.8060807@redhat.com> <20140122160940.GC24675@zion.uk.xensource.com> <52E0DCDD.60405@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <52E0DCDD.60405@redhat.com> Subject: Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Peter Maydell , Wei Liu , Stefano Stabellini , QEMU Developers , "xen-devel@lists.xen.org" , Frediano Ziglio , Anthony Liguori , Andreas =?iso-8859-1?Q?F=E4rber?= On Thu, Jan 23, 2014 at 10:11:57AM +0100, Paolo Bonzini wrote: > Il 22/01/2014 17:09, Wei Liu ha scritto: > >On Wed, Jan 22, 2014 at 11:20:38AM +0100, Paolo Bonzini wrote: > >>Il 21/01/2014 19:27, Wei Liu ha scritto: > >>>>> > >>>>>Googling "disable tcg" would have provided an answer, but the patches > >>>>>were old enough to be basically useless. I'll refresh the current > >>>>>version in the next few days. Currently I am (or try to be) on > >>>>>vacation, so I cannot really say when, but I'll do my best. :) > >>>>> > >>>Hi Paolo, any update? > >> > >>Oops, sorry, I thought I had sent that out. It's in the disable-tcg > >>branch on my github repository. > >> > > > >Unfortunately your branch didn't work when I enabled TCG support. If I > >use "--disable-tcg" with configure then it works fine. > > Branch fixed. > Yes, it's fixed for the case I reported. Thanks. But it is now broken with following rune: ./configure --enable-kvm --disable-tcg --target-list=i386-softmmu --disable-xen --enable-debug LINK i386-softmmu/qemu-system-i386 cpus.o: In function `cpu_signal': /local/scratch/qemu/cpus.c:569: undefined reference to `exit_request' cpus.o: In function `tcg_cpu_exec': /local/scratch/qemu/cpus.c:1257: undefined reference to `cpu_x86_exec' cpus.o: In function `tcg_exec_all': /local/scratch/qemu/cpus.c:1282: undefined reference to `exit_request' /local/scratch/qemu/cpus.c:1299: undefined reference to `exit_request' exec.o: In function `tlb_reset_dirty_range_all': /local/scratch/qemu/exec.c:736: undefined reference to `cpu_tlb_reset_dirty_all' collect2: error: ld returned 1 exit status make[1]: *** [qemu-system-i386] Error 1 make: *** [subdir-i386-softmmu] Error 2 --enable-debug is the one to blame. Without that it links successfully. Wei. > Paolo