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 /drivers/kvm/kvm_main.c | |
parent | 739872c56f3322c38320c7a5a543ef6f56f174bc (diff) |
KVM: Add method to check for backwards-compatible API extensions
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/kvm_main.c')
-rw-r--r-- | drivers/kvm/kvm_main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/kvm/kvm_main.c b/drivers/kvm/kvm_main.c index 5d24203afd20..39cf8fd343a3 100644 --- a/drivers/kvm/kvm_main.c +++ b/drivers/kvm/kvm_main.c | |||
@@ -2416,6 +2416,12 @@ static long kvm_dev_ioctl(struct file *filp, | |||
2416 | r = 0; | 2416 | r = 0; |
2417 | break; | 2417 | break; |
2418 | } | 2418 | } |
2419 | case KVM_CHECK_EXTENSION: | ||
2420 | /* | ||
2421 | * No extensions defined at present. | ||
2422 | */ | ||
2423 | r = 0; | ||
2424 | break; | ||
2419 | default: | 2425 | default: |
2420 | ; | 2426 | ; |
2421 | } | 2427 | } |