Commit db6ae615 authored by Scott Wood's avatar Scott Wood Committed by Gleb Natapov
Browse files

kvm: Add compat_ioctl for device control API

This API shouldn't have 32/64-bit issues, but VFS assumes it does
unless told otherwise.
Signed-off-by: default avatarScott Wood <>
Signed-off-by: default avatarGleb Natapov <>
parent dfd2bb84
......@@ -2221,6 +2221,9 @@ static int kvm_device_release(struct inode *inode, struct file *filp)
static const struct file_operations kvm_device_fops = {
.unlocked_ioctl = kvm_device_ioctl,
.compat_ioctl = kvm_device_ioctl,
.release = kvm_device_release,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment