diff options
author | Avi Kivity <avi@qumranet.com> | 2007-02-12 00:54:44 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-12 09:48:40 -0800 |
commit | 133de9021d2988f3fbdad84c2d26484c7a757526 (patch) | |
tree | dc56020026f28b91d2304aa355c8b6cf859a7223 /drivers/kvm/kvm.h | |
parent | 47e627bc8c9a70392d2049e6af5bd55fae61fe53 (diff) | |
download | blackbird-op-linux-133de9021d2988f3fbdad84c2d26484c7a757526.tar.gz blackbird-op-linux-133de9021d2988f3fbdad84c2d26484c7a757526.zip |
[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 { int memory_config_version; int busy; unsigned long rmap_overflow; + struct list_head vm_list; }; struct kvm_stat { |