aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/kvm.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-02-12 03:54:44 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-12 12:48:40 -0500
commit133de9021d2988f3fbdad84c2d26484c7a757526 (patch)
treedc56020026f28b91d2304aa355c8b6cf859a7223 /drivers/kvm/kvm.h
parent47e627bc8c9a70392d2049e6af5bd55fae61fe53 (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.h1
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
309struct kvm_stat { 310struct kvm_stat {