summaryrefslogtreecommitdiffstats
path: root/drivers/kvm/kvm_main.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-03-01 16:56:20 +0100
committerAvi Kivity <avi@qumranet.com>2007-05-03 09:52:24 +0200
commit5d308f4550d9dc4c236e08b0377b610b9578577b (patch)
treec19005059de37403db7962bcfa7bac657331b052 /drivers/kvm/kvm_main.c
parentKVM: Renumber ioctls (diff)
downloadlinux-5d308f4550d9dc4c236e08b0377b610b9578577b.tar.xz
linux-5d308f4550d9dc4c236e08b0377b610b9578577b.zip
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.c6
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,
r = 0;
break;
}
+ case KVM_CHECK_EXTENSION:
+ /*
+ * No extensions defined at present.
+ */
+ r = 0;
+ break;
default:
;
}