From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: kvm_intel kernel module crash with via nano vmx Date: Mon, 07 Feb 2011 15:22:11 +0200 Message-ID: <4D4FF203.3040308@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Dimitri Return-path: Received: from mx1.redhat.com ([209.132.183.28]:30996 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751954Ab1BGNWP (ORCPT ); Mon, 7 Feb 2011 08:22:15 -0500 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 02/07/2011 03:18 PM, Dimitri wrote: > Hi, > > As report in launchpad (https://bugs.launchpad.net/qemu/+bug/712416), > kvm intel kernel module is not usable with via nano (with vmx > instructions). > kvm problems should be reported on bugzilla.kernel.org. > Cpu: > processor : 0 > vendor_id : CentaurHauls > cpu family : 6 > model : 15 > model name : VIA Nano processor U2250 (1.6GHz Capable) > stepping : 3 > cpu MHz : 800.000 > cache size : 1024 KB > fdiv_bug : no > hlt_bug : no > f00f_bug : no > coma_bug : no > fpu : yes > fpu_exception : yes > cpuid level : 10 > wp : yes > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov > pat clflush acpi mmx fxsr sse sse2 ss tm syscall nx lm constant_tsc up > rep_good pni monitor vmx est tm2 ssse3 cx16 xtpr rng rng_en ace ace_en > ace2 phe phe_en lahf_lm > bogomips : 3192.36 > clflush size : 64 > cache_alignment : 128 > address sizes : 36 bits physical, 48 bits virtual > power management: > > > Kvm version: tested with 0.12.5 and last git 0.13.50 (git repo deleted > after test, I can't do "git describe" for now). > > Kernel version: 2.6.38 (git kvm branch compiled on 02 03 2011) > > Arch: x86_64 but reproductible (tested) with i386 > > Guest os: all, crash as soon as i enter kvm command. > > The problem appears with -no-kvm-irqchip or -no-kvm-pit too. > > The problem doesn't appear with -no-kvm or if kvm_intel kernel module > is unloaded. > > Description of the problem: the host crash without any log when > launching kvm with kvm_intel kernel module loaded. > Command: kvm -m 256 fs/ubuntu_vm_1.img There is a bug in the Nano implementation of vmx which is triggered by kvm (though recent kvms should no longer trigger it; perhaps it's another one). -- error compiling committee.c: too many arguments to function