[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Project idea: make QEMU more flexible



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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.