From: Wei Liu <wei.liu2@citrix.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
"Wei Liu" <wei.liu2@citrix.com>,
"Stefano Stabellini" <stefano.stabellini@eu.citrix.com>,
"QEMU Developers" <qemu-devel@nongnu.org>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>,
"Frediano Ziglio" <frediano.ziglio@citrix.com>,
"Anthony Liguori" <anthony@codemonkey.ws>,
"Andreas Färber" <afaerber@suse.de>
Subject: Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible
Date: Wed, 22 Jan 2014 16:09:40 +0000 [thread overview]
Message-ID: <20140122160940.GC24675@zion.uk.xensource.com> (raw)
In-Reply-To: <52DF9B76.8060807@redhat.com>
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.
A simple "make distclean; ./configure --target-list=i386-softmmu; make
-j16" gives following errors while linking.
LINK i386-softmmu/qemu-system-i386
gdbstub.o: In function `gdb_vm_state_change':
/local/scratch/qemu/gdbstub.c:1227: undefined reference to `tb_flush'
../vl.o: In function `tcg_init':
/local/scratch/qemu/vl.c:2614: undefined reference to `tcg_exec_init'
hw/i386/kvmvapic.o: In function `patch_instruction':
/local/scratch/qemu/hw/i386/kvmvapic.c:409: undefined reference to `cpu_restore_state'
/local/scratch/qemu/hw/i386/kvmvapic.c:451: undefined reference to `tb_gen_code'
/local/scratch/qemu/hw/i386/kvmvapic.c:452: undefined reference to `cpu_resume_from_signal'
target-i386/cpu.o: In function `x86_cpu_common_class_init':
/local/scratch/qemu/target-i386/cpu.c:2750: undefined reference to `x86_cpu_do_interrupt'
target-i386/cpu.o: In function `x86_cpu_reset':
/local/scratch/qemu/target-i386/cpu.c:2385: undefined reference to `tlb_flush'
target-i386/cpu.o: In function `x86_cpu_initfn':
/local/scratch/qemu/target-i386/cpu.c:2693: undefined reference to `optimize_flags_init'
/local/scratch/qemu/target-i386/cpu.c:2695: undefined reference to `breakpoint_handler'
/local/scratch/qemu/target-i386/cpu.c:2695: undefined reference to `cpu_set_debug_excp_handler'
cpus.o: In function `cpu_signal':
/local/scratch/qemu/cpus.c:569: undefined reference to `exit_request'
cpus.o: In function `qemu_tcg_cpu_thread_fn':
/local/scratch/qemu/cpus.c:946: undefined reference to `exit_request'
cpus.o: In function `tcg_cpu_exec':
/local/scratch/qemu/cpus.c:1257: undefined reference to `cpu_x86_exec'
exec.o: In function `cpu_common_post_load':
/local/scratch/qemu/exec.c:405: undefined reference to `tlb_flush'
exec.o: In function `tcg_commit':
/local/scratch/qemu/exec.c:1796: undefined reference to `tlb_flush'
exec.o: In function `invalidate_and_set_dirty':
/local/scratch/qemu/exec.c:1920: undefined reference to `tb_invalidate_phys_page_range'
exec.o: In function `check_watchpoint':
/local/scratch/qemu/exec.c:1556: undefined reference to `tb_check_watchpoint'
/local/scratch/qemu/exec.c:1559: undefined reference to `cpu_loop_exit'
/local/scratch/qemu/exec.c:1562: undefined reference to `tb_gen_code'
/local/scratch/qemu/exec.c:1563: undefined reference to `cpu_resume_from_signal'
exec.o: In function `cpu_watchpoint_insert':
/local/scratch/qemu/exec.c:532: undefined reference to `tlb_flush_page'
exec.o: In function `cpu_watchpoint_remove_by_ref':
/local/scratch/qemu/exec.c:561: undefined reference to `tlb_flush_page'
exec.o: In function `notdirty_mem_write':
/local/scratch/qemu/exec.c:1491: undefined reference to `tb_invalidate_phys_page_fast'
exec.o: In function `stl_phys_notdirty':
/local/scratch/qemu/exec.c:2535: undefined reference to `tb_invalidate_phys_page_range'
exec.o: In function `breakpoint_invalidate':
/local/scratch/qemu/exec.c:488: undefined reference to `tb_invalidate_phys_addr'
exec.o: In function `cpu_single_step':
/local/scratch/qemu/exec.c:664: undefined reference to `tb_flush'
exec.o: In function `tlb_reset_dirty_range_all':
/local/scratch/qemu/exec.c:736: undefined reference to `cpu_tlb_reset_dirty_all'
exec.o: In function `notdirty_mem_write':
/local/scratch/qemu/exec.c:1515: undefined reference to `tlb_set_dirty'
monitor.o: In function `do_info_jit':
/local/scratch/qemu/monitor.c:1120: undefined reference to `dump_exec_info'
target-i386/helper.o: In function `x86_cpu_set_a20':
/local/scratch/qemu/target-i386/helper.c:397: undefined reference to `tlb_flush'
target-i386/helper.o: In function `cpu_x86_update_cr0':
/local/scratch/qemu/target-i386/helper.c:411: undefined reference to `tlb_flush'
target-i386/helper.o: In function `cpu_x86_update_cr4':
/local/scratch/qemu/target-i386/helper.c:464: undefined reference to `tlb_flush'
target-i386/helper.o: In function `cpu_x86_handle_mmu_fault':
/local/scratch/qemu/target-i386/helper.c:862: undefined reference to `tlb_set_page'
target-i386/helper.o: In function `cpu_report_tpr_access':
/local/scratch/qemu/target-i386/helper.c:1224: undefined reference to `cpu_restore_state'
target-i386/helper.o: In function `cpu_x86_update_cr3':
/local/scratch/qemu/target-i386/helper.c:452: undefined reference to `tlb_flush'
target-i386/machine.o: In function `cpu_post_load':
/local/scratch/qemu/target-i386/machine.c:330: undefined reference to `tlb_flush'
collect2: error: ld returned 1 exit status
make[1]: *** [qemu-system-i386] Error 1
make: *** [subdir-i386-softmmu] Error 2
Wei.
> Paolo
next prev parent reply other threads:[~2014-01-22 16:09 UTC|newest]
Thread overview: 83+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-06 12:54 [Qemu-devel] Project idea: make QEMU more flexible Wei Liu
2014-01-06 13:23 ` Peter Crosthwaite
2014-01-06 13:23 ` Peter Crosthwaite
2014-01-06 15:11 ` Wei Liu
2014-01-06 15:11 ` Wei Liu
2014-01-06 16:32 ` Peter Maydell
2014-01-06 16:32 ` Peter Maydell
2014-01-06 17:34 ` Stefano Stabellini
2014-01-06 17:34 ` Stefano Stabellini
2014-01-06 18:06 ` Peter Maydell
2014-01-07 13:26 ` Stefano Stabellini
2014-01-07 13:26 ` Stefano Stabellini
2014-01-07 13:35 ` Peter Maydell
2014-01-07 13:35 ` Peter Maydell
2014-01-07 13:50 ` Paolo Bonzini
2014-01-07 13:50 ` [Qemu-devel] " Paolo Bonzini
2014-01-07 14:34 ` Stefano Stabellini
2014-01-07 14:34 ` Stefano Stabellini
2014-01-07 14:38 ` [Qemu-devel] " Wei Liu
2014-01-07 14:40 ` Paolo Bonzini
2014-01-07 14:40 ` [Qemu-devel] " Paolo Bonzini
2014-01-07 14:38 ` Wei Liu
2014-01-07 15:11 ` [Qemu-devel] " Peter Maydell
2014-01-07 15:34 ` Paolo Bonzini
2014-01-07 15:34 ` [Qemu-devel] " Paolo Bonzini
2014-01-07 15:11 ` Peter Maydell
2014-01-06 18:06 ` [Qemu-devel] " Peter Maydell
2014-01-06 13:25 ` Frediano Ziglio
2014-01-06 13:25 ` [Qemu-devel] [Xen-devel] " Frediano Ziglio
2014-01-06 14:17 ` Stefano Stabellini
2014-01-06 14:21 ` Peter Maydell
2014-01-06 14:27 ` Anthony Liguori
2014-01-06 14:54 ` Stefano Stabellini
2014-01-06 15:04 ` Peter Maydell
2014-01-06 20:59 ` Paolo Bonzini
2014-01-06 20:59 ` Paolo Bonzini
2014-01-06 15:04 ` [Qemu-devel] " Peter Maydell
2014-01-06 15:39 ` [Qemu-devel] [Xen-devel] " Anthony Liguori
2014-01-06 15:57 ` [Qemu-devel] " Stefano Stabellini
2014-01-06 15:57 ` [Qemu-devel] [Xen-devel] " Stefano Stabellini
2014-01-06 17:49 ` [Qemu-devel] " Anthony Liguori
2014-01-06 17:49 ` [Qemu-devel] [Xen-devel] " Anthony Liguori
2014-01-06 18:04 ` Stefano Stabellini
2014-01-06 18:04 ` [Qemu-devel] " Stefano Stabellini
2014-01-06 18:00 ` Andreas Färber
2014-01-06 18:00 ` [Qemu-devel] [Xen-devel] " Andreas Färber
2014-01-06 20:53 ` Paolo Bonzini
2014-01-07 12:34 ` [Qemu-devel] " Wei Liu
2014-01-07 12:34 ` [Qemu-devel] [Xen-devel] " Wei Liu
2014-01-07 13:32 ` Paolo Bonzini
2014-01-07 13:37 ` Wei Liu
2014-01-07 13:37 ` [Qemu-devel] [Xen-devel] " Wei Liu
2014-01-21 18:27 ` Wei Liu
2014-01-22 10:20 ` Paolo Bonzini
2014-01-22 12:09 ` Wei Liu
2014-01-22 12:09 ` Wei Liu
2014-01-22 16:09 ` Wei Liu
2014-01-22 16:09 ` Wei Liu [this message]
2014-01-23 9:11 ` [Qemu-devel] [Xen-devel] " Paolo Bonzini
2014-01-23 13:54 ` Wei Liu
2014-01-23 16:23 ` Wei Liu
2014-02-04 4:32 ` Paolo Bonzini
2014-02-04 4:32 ` [Qemu-devel] [Xen-devel] " Paolo Bonzini
2014-01-23 16:23 ` Wei Liu
2014-01-23 13:54 ` Wei Liu
2014-01-23 9:11 ` Paolo Bonzini
2014-01-22 10:20 ` Paolo Bonzini
2014-01-21 18:27 ` Wei Liu
2014-01-07 13:32 ` Paolo Bonzini
2014-01-06 20:53 ` [Qemu-devel] " Paolo Bonzini
2014-01-06 15:39 ` Anthony Liguori
2014-01-06 14:54 ` Stefano Stabellini
2014-01-06 14:27 ` Anthony Liguori
2014-01-06 14:21 ` Peter Maydell
2014-01-06 14:17 ` Stefano Stabellini
2014-01-06 13:30 ` [Qemu-devel] " Peter Maydell
2014-01-06 15:12 ` Wei Liu
2014-01-06 15:12 ` Wei Liu
2014-01-06 18:12 ` Andreas Färber
2014-01-06 18:25 ` Wei Liu
2014-01-07 13:10 ` Stefano Stabellini
2014-01-07 13:10 ` [Qemu-devel] [Xen-devel] " Stefano Stabellini
2014-01-06 18:25 ` [Qemu-devel] " Wei Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140122160940.GC24675@zion.uk.xensource.com \
--to=wei.liu2@citrix.com \
--cc=afaerber@suse.de \
--cc=anthony@codemonkey.ws \
--cc=frediano.ziglio@citrix.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.