lkml.org 
[lkml]   [2007]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 06/15] KVM: Remove minor wart from KVM_CREATE_VCPU ioctl
    Date
    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 | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/include/linux/kvm.h b/include/linux/kvm.h
    index c6dd4a7..d89189a 100644
    --- 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 _IOW(KVMIO, 11, int)
    +#define KVM_CREATE_VCPU _IO(KVMIO, 11)
    #define KVM_GET_DIRTY_LOG _IOW(KVMIO, 12, struct kvm_dirty_log)

    /*
    --
    1.5.0.2
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-03-11 15:01    [W:0.020 / U:120.336 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site