KVM: x86: add VCPU stat for KVM_REQ_EVENT processing
This statistic can be useful to estimate the cost of an IRQ injection scenario, by comparing it with irq_injections. For example the stat shows that sti;hlt triggers more KVM_REQ_EVENT than sti;nop. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:

committed by
Radim Krčmář

parent
0f89b207b0
commit
0f1e261ead
@@ -861,6 +861,7 @@ struct kvm_vcpu_stat {
|
||||
u64 hypercalls;
|
||||
u64 irq_injections;
|
||||
u64 nmi_injections;
|
||||
u64 req_event;
|
||||
};
|
||||
|
||||
struct x86_instruction_info;
|
||||
|
Reference in New Issue
Block a user