aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-03-01 09:47:06 -0500
committerAvi Kivity <avi@qumranet.com>2007-05-03 03:52:23 -0400
commit2a4dac3952468157297b81ae0a29815c02ead179 (patch)
treed3ee5dcf749061cc588be792b0eeaa06f02e69a1 /include
parent106b552b43beac2694df5fbafc8f125a72df5f65 (diff)
KVM: Remove minor wart from KVM_CREATE_VCPU ioctl
That ioctl does not transfer any data, so it should be an _IO rather than an _IOW. Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/kvm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kvm.h b/include/linux/kvm.h
index c6dd4a79b74b..d89189a81aba 100644
--- a/include/linux/kvm.h
+++ b/include/linux/kvm.h
@@ -241,7 +241,7 @@ struct kvm_cpuid {
241 * KVM_CREATE_VCPU receives as a parameter the vcpu slot, and returns 241 * KVM_CREATE_VCPU receives as a parameter the vcpu slot, and returns
242 * a vcpu fd. 242 * a vcpu fd.
243 */ 243 */
244#define KVM_CREATE_VCPU _IOW(KVMIO, 11, int) 244#define KVM_CREATE_VCPU _IO(KVMIO, 11)
245#define KVM_GET_DIRTY_LOG _IOW(KVMIO, 12, struct kvm_dirty_log) 245#define KVM_GET_DIRTY_LOG _IOW(KVMIO, 12, struct kvm_dirty_log)
246 246
247/* 247/*