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
[79116.175585] returning from kvm_handle_exit, cause 3, retval = 1, exit_reason
= 0
[79116.175600] returning from kvm_handle_exit, cause 3, retval = 1, exit_reason
= 0
[79116.175614] returning from kvm_handle_exit, cause 3, retval = 1, exit_reason
= 0
[79116.175628] returning from kvm_handle_exit, cause 3, retval = 1, exit_reason
= 0
[79116.175643] returning from kvm_handle_exit, cause 3, retval = 1, exit_reason
= 0
[79116.175657] returning from kvm_handle_exit, cause 3, retval = 1, exit_reason
= 0
[79116.175672] returning from kvm_handle_exit, cause 3, retval = 1, exit_reason
= 0
[79116.175686] returning from kvm_handle_exit, cause 3, retval = 1, exit_reason
= 0
[79116.175701] returning from kvm_handle_exit, cause 3, retval = 1, exit_reason
= 0
[79116.175715] returning from kvm_handle_exit, cause 3, retval = 1, exit_reason
= 0
[79116.175730] returning from kvm_handle_exit, cause 3, retval = 1, exit_reason
= 0
[79116.175774] returning from kvm_handle_exit, cause 3, retval = 1, exit_reason
= 0
[79116.175788] returning from kvm_handle_exit, cause 3, retval = 1, exit_reason
= 0
[79116.175803] returning from kvm_handle_exit, cause 3, retval = 1, exit_reason
= 0
[79116.175817] returning from kvm_handle_exit, cause 3, retval = 1, exit_reason
= 0
[79116.175831] returning from kvm_handle_exit, cause 3, retval = 1, exit_reason
= 0
[79116.175846] returning from kvm_handle_exit, cause 3, retval = 1, exit_reason
= 0
[79116.175860] returning from kvm_handle_exit, cause 3, retval = 1, exit_reason
= 0
[79116.175875] returning from kvm_handle_exit, cause 3, retval = 1, exit_reason
= 0
[79116.175889] returning from kvm_handle_exit, cause 3, retval = 1, exit_reason
= 0
[79116.175903] returning from kvm_handle_exit, cause 3, retval = 1, exit_reason
= 0
[79116.175918] returning from kvm_handle_exit, cause 3, retval = 1, exit_reason
= 0
[79116.175932] returning from kvm_handle_exit, cause 3, retval = 1, exit_reason
= 0
... and so on until kvm gets killed
--
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