Re: KVM on Via Nano (Isaiah) CPUs? <Virus checked>

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

 



Andreas Tanz wrote:
Hi!

The guest starts up showing the Bochs BIOS POST and stucks giving thousands of lines : [15013.656923] returning from kvm_handle_exit, cause 3, retval = 1

What was the value of exit_reason?

kernel/x86/vmx.c:
3211 static int kvm_handle_exit(struct kvm_run *kvm_run, struct kvm_vcpu *vcpu)
3212 {
...
3273         if (exit_reason < kvm_vmx_max_exit_handlers
3274             && kvm_vmx_exit_handlers[exit_reason]){
3275                 int retval = kvm_vmx_exit_handlers[exit_reason](vcpu, kvm_run);
3276                 printk(KERN_WARNING "returning from kvm_handle_exit, cause 3, retval = %i"
3277                         ", exit_reason = %i\n"
3278                         ,retval, exit_reason);
3279                 // return kvm_vmx_exit_handlers[exit_reason](vcpu, kvm_run);
3280                 return retval;
3281         }
3282         else {
3283                 kvm_run->exit_reason = KVM_EXIT_UNKNOWN;
3284                 kvm_run->hw.hardware_exit_reason = exit_reason;
3285         }
3286         printk(KERN_WARNING "returning from kvm_handle_exit\n
3287         return 0;
3288 }
...

--> dmesg : [79116.175571] returning from kvm_handle_exit, cause 3, retval = 1, exit_reason = 0


That's an exception or nmi. Next step is to instrument handle_exception() and see what happens there. Please print out vect_info, intr_info, and kvm_rip_read(vcpu) (all as hex).

The more you instrument, of course, the better.

--
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

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux