On 12/01/2011 03:54 PM, Daniele Carollo wrote: > Il 01 dicembre 2011 14:48, Avi Kivity <avi@xxxxxxxxxx> ha scritto: > > On 12/01/2011 03:37 PM, Daniele Carollo wrote: > >> Hi, > >> my name's Daniele and I'm using the native linux kvm tool. > >> If I try to execute it in this way ./kvm run -d ~/linux-0.2.img I get > >> a kernel panic like this: http://paste.org/41673 > >> Only using the addictional option -p "idle=halt" I can run a virtual machine. > >> Printing cat /proc/cpuinfo on the host i get http://paste.org/41663 > >> and on the guest http://paste.org/41664 > >> Sashal from the native linux kvm tool team noticed that there is the > >> monitor cpu flag even on the guest. > >> > > > > from cpuid.c: > > > > /* cpuid 1.ecx */ > > const u32 kvm_supported_word4_x86_features = > > F(XMM3) | F(PCLMULQDQ) | 0 /* DTES64, MONITOR */ | > > > > so either the masking later on is subtly wrong, or kvm tool doesn't pass > > it on correctly, or Linux ignores it. > > > > Please run the attached program on the host and post its output. > > > > -- > > error compiling committee.c: too many arguments to function > > > > It gave me: > func 00000000 ind 00000000 flags 00000000 -> 0000000d 756e6547 6c65746e 49656e69 > func 00000001 ind 00000000 flags 00000000 -> 000206a7 03100800 14b8220b 0f8bfbff > cpuid 1.ecx[3] = 1, so it's a host kernel issue. Please try git://git.kernel.org/pub/scm/virt/kvm/kvm.git kvm-updates/3.1, see it if fixes it for you. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html