diff options
author | Max Bruning <max@joyent.com> | 2011-06-13 03:21:05 -0700 |
---|---|---|
committer | Max Bruning <max@joyent.com> | 2011-06-13 23:08:52 -0700 |
commit | d07ea5e616ab266c4da42fc2209343fa6358b992 (patch) | |
tree | 4194882f45ec5641ded12982212590a1fe6b5faa /kvm_host.h | |
parent | 90dfa71708648d1261bb4afb3539b0861baee5ea (diff) | |
download | illumos-kvm-d07ea5e616ab266c4da42fc2209343fa6358b992.tar.gz |
HVM-363 kvm has multiple memory leaks
Diffstat (limited to 'kvm_host.h')
-rw-r--r-- | kvm_host.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |