diff options
Diffstat (limited to 'include/linux/kvm_host.h')
| -rw-r--r-- | include/linux/kvm_host.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index b1fa8f11c95b..1c9c973a7dd9 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h | |||
| @@ -412,6 +412,8 @@ struct kvm { | |||
| 412 | #endif | 412 | #endif |
| 413 | long tlbs_dirty; | 413 | long tlbs_dirty; |
| 414 | struct list_head devices; | 414 | struct list_head devices; |
| 415 | struct dentry *debugfs_dentry; | ||
| 416 | struct kvm_stat_data **debugfs_stat_data; | ||
| 415 | }; | 417 | }; |
| 416 | 418 | ||
| 417 | #define kvm_err(fmt, ...) \ | 419 | #define kvm_err(fmt, ...) \ |
| @@ -991,6 +993,11 @@ enum kvm_stat_kind { | |||
| 991 | KVM_STAT_VCPU, | 993 | KVM_STAT_VCPU, |
| 992 | }; | 994 | }; |
| 993 | 995 | ||
| 996 | struct kvm_stat_data { | ||
| 997 | int offset; | ||
| 998 | struct kvm *kvm; | ||
| 999 | }; | ||
| 1000 | |||
| 994 | struct kvm_stats_debugfs_item { | 1001 | struct kvm_stats_debugfs_item { |
| 995 | const char *name; | 1002 | const char *name; |
| 996 | int offset; | 1003 | int offset; |
