projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
106b552
)
KVM: Remove minor wart from KVM_CREATE_VCPU ioctl
author
Avi Kivity
<avi@qumranet.com>
Thu, 1 Mar 2007 14:47:06 +0000
(16:47 +0200)
committer
Avi Kivity
<avi@qumranet.com>
Thu, 3 May 2007 07:52:23 +0000
(10:52 +0300)
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>
include/linux/kvm.h
patch
|
blob
|
history
diff --git
a/include/linux/kvm.h
b/include/linux/kvm.h
index c6dd4a79b74b9fd6e76929a472b712d5656ed4be..d89189a81aba40284f7a3067f1a64491d36f3601 100644
(file)
--- a/
include/linux/kvm.h
+++ b/
include/linux/kvm.h
@@
-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 _IO
W(KVMIO, 11, int
)
+#define KVM_CREATE_VCPU _IO
(KVMIO, 11
)
#define KVM_GET_DIRTY_LOG _IOW(KVMIO, 12, struct kvm_dirty_log)
/*