summaryrefslogtreecommitdiff
path: root/kvm_host.h
diff options
context:
space:
mode:
authorBryan Cantrill <bryan@joyent.com>2011-04-24 16:03:56 -0700
committerBryan Cantrill <bryan@joyent.com>2011-04-24 16:03:56 -0700
commit51fee0aa7e95b3193093e597f4d969cbab472393 (patch)
treeb56710f501ef205c037f2af57db2f04568944371 /kvm_host.h
parent4715a6be9e7460adb7dbaf79b2f5b0c439723999 (diff)
downloadillumos-kvm-51fee0aa7e95b3193093e597f4d969cbab472393.tar.gz
HVM-119 eliminate checks of return value for KM_SLEEP allocations
HVM-120 all kvm structures should have an associated typedef
Diffstat (limited to 'kvm_host.h')
-rw-r--r--kvm_host.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvm_host.h b/kvm_host.h
index d5144ba..c81718b 100644
--- a/kvm_host.h
+++ b/kvm_host.h
@@ -117,12 +117,12 @@ enum kvm_stat_kind {
KVM_STAT_VCPU,
};
-struct kvm_stats_debugfs_item {
+typedef struct kvm_stats_debugfs_item {
const char *name;
int offset;
enum kvm_stat_kind kind;
struct dentry *dentry;
-};
+} kvm_stats_debugfs_item_t;
extern struct kvm_stats_debugfs_item debugfs_entries[];
extern struct dentry *kvm_debugfs_dir;