Skip to contentSkip to conversation

KVM: nVMX: trace nested VM-Enter failures detected by H/W

PATCH Sean Christopherson 2 participants 2 messages Jun 19, 2019 – Jul 2, 2019 7 messages not in the archive KVM

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): CALMp9eQ4ADEqTmL4-1wT9Xh9mT9Xof9nmFypqF7_-TeKkHdOMQ@mail.gmail.com

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): CALMp9eQFT2qEuuOoZRpRkx0Fr0452kTnGyxKjK8qP9skWtY0rA@mail.gmail.com

A message that is not in the archive (sent off-list or not yet received): [email protected]

#7 lore raw
Quoted 16 lines · Paolo Bonzini
Quoted 15 lines · Jim Mattson
Quoted 14 lines · Paolo Bonzini
Quoted 11 lines · Sean Christopherson
Quoted 6 lines

Review

Quoted 3 lines
        if (unlikely(vmx->fail)) {
(quoted diff) +0 -2
-               pr_info_ratelimited("%s failed vm entry %x\n", __func__,
-                                   vmcs_read32(VM_INSTRUCTION_ERROR));

I *love* the tracing, but I don't think we want to turn it on for production. Can we keep the pr_info_ratelimited for when tracing is disabled?

Could we drop it to pr_debug_ratelimited()? Say "no" if it's at all inconvenient to use debug instead of info. The printing is nothing more than a minor annoyance when I'm running unit tests, i.e. any kind of actual use case trumps my partiality for a clean kernel log.

Quoted 5 lines
Quoted 3 lines
Quoted 1 line

I agree, it should be pr_debug_ratelimited (if anything).

Let's go ahead and drop it, then.

I'll add at least a vcpu_stat.

Paolo, is this one of those series that you need to Google, or are you waiting on me for something? :-D

maintainer
#8 lore raw
Quoted 1 line · Sean Christopherson

are you waiting on me for something? :-D

Can you please rebase the patches?

Thanks,

Paolo