diff options
author | Avi Kivity <avi@qumranet.com> | 2007-03-01 10:56:20 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-05-03 03:52:24 -0400 |
commit | 5d308f4550d9dc4c236e08b0377b610b9578577b (patch) | |
tree | c19005059de37403db7962bcfa7bac657331b052 /include/linux | |
parent | 739872c56f3322c38320c7a5a543ef6f56f174bc (diff) |
KVM: Add method to check for backwards-compatible API extensions
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/kvm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/kvm.h b/include/linux/kvm.h index 93472daec120..c93cf53953af 100644 --- a/include/linux/kvm.h +++ b/include/linux/kvm.h | |||
@@ -232,6 +232,11 @@ struct kvm_cpuid { | |||
232 | #define KVM_GET_API_VERSION _IO(KVMIO, 0x00) | 232 | #define KVM_GET_API_VERSION _IO(KVMIO, 0x00) |
233 | #define KVM_CREATE_VM _IO(KVMIO, 0x01) /* returns a VM fd */ | 233 | #define KVM_CREATE_VM _IO(KVMIO, 0x01) /* returns a VM fd */ |
234 | #define KVM_GET_MSR_INDEX_LIST _IOWR(KVMIO, 0x02, struct kvm_msr_list) | 234 | #define KVM_GET_MSR_INDEX_LIST _IOWR(KVMIO, 0x02, struct kvm_msr_list) |
235 | /* | ||
236 | * Check if a kvm extension is available. Argument is extension number, | ||
237 | * return is 1 (yes) or 0 (no, sorry). | ||
238 | */ | ||
239 | #define KVM_CHECK_EXTENSION _IO(KVMIO, 0x03) | ||
235 | 240 | ||
236 | /* | 241 | /* |
237 | * ioctls for VM fds | 242 | * ioctls for VM fds |