diff options
author | Avi Kivity <avi@qumranet.com> | 2007-02-12 03:54:44 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-12 12:48:40 -0500 |
commit | 133de9021d2988f3fbdad84c2d26484c7a757526 (patch) | |
tree | dc56020026f28b91d2304aa355c8b6cf859a7223 /drivers/kvm/kvm.h | |
parent | 47e627bc8c9a70392d2049e6af5bd55fae61fe53 (diff) |
[PATCH] KVM: Add a global list of all virtual machines
This will allow us to iterate over all vcpus and see which cpus they are
running on.
[akpm@osdl.org: use standard (ugly) initialisers]
Signed-off-by: Avi Kivity <avi@qumranet.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/kvm/kvm.h')
-rw-r--r-- | drivers/kvm/kvm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h index 4ccb343b9aff..c48cebf8511d 100644 --- a/drivers/kvm/kvm.h +++ b/drivers/kvm/kvm.h | |||
@@ -304,6 +304,7 @@ struct kvm { | |||
304 | int memory_config_version; | 304 | int memory_config_version; |
305 | int busy; | 305 | int busy; |
306 | unsigned long rmap_overflow; | 306 | unsigned long rmap_overflow; |
307 | struct list_head vm_list; | ||
307 | }; | 308 | }; |
308 | 309 | ||
309 | struct kvm_stat { | 310 | struct kvm_stat { |