diff options
author | Avi Kivity <avi@qumranet.com> | 2007-02-12 03:54:47 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-12 12:48:41 -0500 |
commit | 774c47f1d78e373a6bd2964f4e278d1ce26c21cb (patch) | |
tree | 665fe9939425d7b4a16b97241e784f4183bd9558 /drivers/kvm/kvm.h | |
parent | 8d0be2b3bf4a55606967d7d84e56c52521e94333 (diff) |
[PATCH] KVM: cpu hotplug support
On hotplug, we execute the hardware extension enable sequence. On unplug, we
decache any vcpus that last ran on the exiting cpu, and execute the hardware
extension disable sequence.
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 c48cebf8511d..04574a9d4430 100644 --- a/drivers/kvm/kvm.h +++ b/drivers/kvm/kvm.h | |||
@@ -341,6 +341,7 @@ struct kvm_arch_ops { | |||
341 | 341 | ||
342 | struct kvm_vcpu *(*vcpu_load)(struct kvm_vcpu *vcpu); | 342 | struct kvm_vcpu *(*vcpu_load)(struct kvm_vcpu *vcpu); |
343 | void (*vcpu_put)(struct kvm_vcpu *vcpu); | 343 | void (*vcpu_put)(struct kvm_vcpu *vcpu); |
344 | void (*vcpu_decache)(struct kvm_vcpu *vcpu); | ||
344 | 345 | ||
345 | int (*set_guest_debug)(struct kvm_vcpu *vcpu, | 346 | int (*set_guest_debug)(struct kvm_vcpu *vcpu, |
346 | struct kvm_debug_guest *dbg); | 347 | struct kvm_debug_guest *dbg); |