Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2a4dac39 authored by Avi Kivity's avatar Avi Kivity
Browse files

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: default avatarAvi Kivity <avi@qumranet.com>
parent 106b552b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -241,7 +241,7 @@ struct kvm_cpuid {
 * KVM_CREATE_VCPU receives as a parameter the vcpu slot, and returns
 * a vcpu fd.
 */
#define KVM_CREATE_VCPU           _IOW(KVMIO, 11, int)
#define KVM_CREATE_VCPU           _IO(KVMIO, 11)
#define KVM_GET_DIRTY_LOG         _IOW(KVMIO, 12, struct kvm_dirty_log)

/*