diff options
Diffstat (limited to 'drivers/kvm/x86.c')
-rw-r--r-- | drivers/kvm/x86.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/kvm/x86.c b/drivers/kvm/x86.c index b7c72ac36735..923dfd4e0afd 100644 --- a/drivers/kvm/x86.c +++ b/drivers/kvm/x86.c | |||
@@ -60,7 +60,7 @@ struct kvm_stats_debugfs_item debugfs_entries[] = { | |||
60 | { "halt_wakeup", STAT_OFFSET(halt_wakeup) }, | 60 | { "halt_wakeup", STAT_OFFSET(halt_wakeup) }, |
61 | { "request_irq", STAT_OFFSET(request_irq_exits) }, | 61 | { "request_irq", STAT_OFFSET(request_irq_exits) }, |
62 | { "irq_exits", STAT_OFFSET(irq_exits) }, | 62 | { "irq_exits", STAT_OFFSET(irq_exits) }, |
63 | { "light_exits", STAT_OFFSET(light_exits) }, | 63 | { "host_state_reload", STAT_OFFSET(host_state_reload) }, |
64 | { "efer_reload", STAT_OFFSET(efer_reload) }, | 64 | { "efer_reload", STAT_OFFSET(efer_reload) }, |
65 | { NULL } | 65 | { NULL } |
66 | }; | 66 | }; |
@@ -1988,10 +1988,8 @@ again: | |||
1988 | ++vcpu->stat.request_irq_exits; | 1988 | ++vcpu->stat.request_irq_exits; |
1989 | goto out; | 1989 | goto out; |
1990 | } | 1990 | } |
1991 | if (!need_resched()) { | 1991 | if (!need_resched()) |
1992 | ++vcpu->stat.light_exits; | ||
1993 | goto again; | 1992 | goto again; |
1994 | } | ||
1995 | } | 1993 | } |
1996 | 1994 | ||
1997 | out: | 1995 | out: |