On Sun, Jan 11, 2009 at 04:16:03AM +0100, Paolo Pedaletti wrote: > ciao, > I have a problem to run a 64 bit intel guest inside a 64 bit intel host. > It doesn' boot.
Looks like the core2duo CPU type has the problem. > trying to boot the guest: > /usr/local/bin/qemu-system-x86_64 -cpu core2duo > -hda ./ubuntu-server-8.10_64bit.root > -cdrom /home/vm/iso/ubuntu/ubuntu-8.10-server-i386.iso > -k it -usbdevice tablet -boot d > > as soon as I run this command, in syslog appear: > cpu0: unhandled wrmsr: 0xc0010117 data 0 > (always the same address) This is harmless and has been fixed for the upcoming release. > the same with -cpu: coreduo This is a 32-bit CPU type. A 64-bit kernel won't boot on this. > questions: > 1) with -cpu qemu64 I obtain in the guest: > cat /proc/cpuinfo > vendor_id: GenuineIntel > but it doesn't seem a 64 bit cpu (?) Check for the 'lm' flag in cpuinfo output. Have you used 'core2duo' in a previous version without problems? I could reproduce this with 32-bit and 64-bit guests. It works fine with -no-kvm. I looked at this briefly; it's a problem in cpuid function 4 which has the Intel cache identification bits. We need updated info there. Just for the refernce, kvm_stat shows this and CPU usage goes beyond 95%: $ ./kvm_stat -1 efer_reload 27 0 exits 2652516 591716 fpu_reload 276172 0 halt_exits 55 0 halt_wakeup 0 0 host_state_reload 306818 143 hypercalls 0 0 insn_emulation 579255 0 insn_emulation_fail 0 0 invlpg 5 0 io_exits 313047 1000 irq_exits 4616 918 irq_injections 878 250 irq_window 80 0 kvm_request_irq 0 0 largepages 0 0 mmio_exits 9140 0 mmu_cache_miss 281 0 mmu_flooded 170 0 mmu_pde_zapped 373 0 mmu_pte_updated 3 0 mmu_pte_write 5531 0 mmu_recycled 0 0 mmu_shadow_zapped 302 0 mmu_unsync 1 0 mmu_unsync_global 1 0 nmi_injections 0 0 nmi_window 0 0 pf_fixed 8615 0 pf_guest 0 0 remote_tlb_flush 0 0 request_nmi 0 0 signal_exits 1 0 tlb_flush 333740 0 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
