summaryrefslogtreecommitdiff
path: root/kvm_host.h
diff options
context:
space:
mode:
authorMax Bruning <max@joyent.com>2011-06-13 03:21:05 -0700
committerMax Bruning <max@joyent.com>2011-06-13 23:08:52 -0700
commitd07ea5e616ab266c4da42fc2209343fa6358b992 (patch)
tree4194882f45ec5641ded12982212590a1fe6b5faa /kvm_host.h
parent90dfa71708648d1261bb4afb3539b0861baee5ea (diff)
downloadillumos-kvm-d07ea5e616ab266c4da42fc2209343fa6358b992.tar.gz
HVM-363 kvm has multiple memory leaks
Diffstat (limited to 'kvm_host.h')
-rw-r--r--kvm_host.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kvm_host.h b/kvm_host.h
index 95e63cc..1fe76ba 100644
--- a/kvm_host.h
+++ b/kvm_host.h
@@ -142,10 +142,12 @@ typedef struct kvm_memory_slot {
unsigned long flags;
unsigned long *rmap;
unsigned long *dirty_bitmap;
+ size_t dirty_bitmap_sz;
struct {
unsigned long rmap_pde;
int write_count;
} *lpage_info[KVM_NR_PAGE_SIZES];
+ size_t lpage_info_sz[KVM_NR_PAGE_SIZES];
unsigned long userspace_addr;
int user_alloc;
} kvm_memory_slot_t;
@@ -210,6 +212,7 @@ typedef struct kvm {
kmutex_t irq_lock;
struct kvm_irq_routing_table *irq_routing;
+ int irq_routing_sz;
list_t mask_notifier_list;
list_t irq_ack_notifier_list;