diff options
author | Jes Sorensen <jes@sgi.com> | 2008-12-18 06:17:51 -0500 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-03-24 05:02:50 -0400 |
commit | e9a999fe1feaddb71bffbacbbd68e0da8ca8b50b (patch) | |
tree | 57e8758433e31f8d70251aff9ce32fdd30ad8c18 /include/linux/kvm.h | |
parent | ae675ef01cd86014acf8da5dee87876b71122495 (diff) |
KVM: ia64: stack get/restore patch
Implement KVM_IA64_VCPU_[GS]ET_STACK ioctl calls. This is required
for live migrations.
Patch is based on previous implementation that was part of old
GET/SET_REGS ioctl calls.
Signed-off-by: Jes Sorensen <jes@sgi.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'include/linux/kvm.h')
-rw-r--r-- | include/linux/kvm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/kvm.h b/include/linux/kvm.h index 429a2ce202f9..28582fcd3f79 100644 --- a/include/linux/kvm.h +++ b/include/linux/kvm.h | |||
@@ -489,6 +489,9 @@ struct kvm_debug_guest { | |||
489 | 489 | ||
490 | #define __KVM_DEPRECATED_DEBUG_GUEST _IOW(KVMIO, 0x87, struct kvm_debug_guest) | 490 | #define __KVM_DEPRECATED_DEBUG_GUEST _IOW(KVMIO, 0x87, struct kvm_debug_guest) |
491 | 491 | ||
492 | #define KVM_IA64_VCPU_GET_STACK _IOR(KVMIO, 0x9a, void *) | ||
493 | #define KVM_IA64_VCPU_SET_STACK _IOW(KVMIO, 0x9b, void *) | ||
494 | |||
492 | #define KVM_TRC_INJ_VIRQ (KVM_TRC_HANDLER + 0x02) | 495 | #define KVM_TRC_INJ_VIRQ (KVM_TRC_HANDLER + 0x02) |
493 | #define KVM_TRC_REDELIVER_EVT (KVM_TRC_HANDLER + 0x03) | 496 | #define KVM_TRC_REDELIVER_EVT (KVM_TRC_HANDLER + 0x03) |
494 | #define KVM_TRC_PEND_INTR (KVM_TRC_HANDLER + 0x04) | 497 | #define KVM_TRC_PEND_INTR (KVM_TRC_HANDLER + 0x04) |