lkml.org 
[lkml]   [2007]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [kvm-devel] [PATCH 08/15] KVM: Add method to check for backwards-compatible API extensions
    Heiko Carstens wrote:
    >> diff --git a/drivers/kvm/kvm_main.c b/drivers/kvm/kvm_main.c
    >> index 747966e..376538c 100644
    >> --- a/drivers/kvm/kvm_main.c
    >> +++ b/drivers/kvm/kvm_main.c
    >> @@ -2416,6 +2416,12 @@ static long kvm_dev_ioctl(struct file *filp,
    >> r = 0;
    >> break;
    >> }
    >> + case KVM_CHECK_EXTENSION:
    >> + /*
    >> + * No extensions defined at present.
    >> + */
    >> + r = 0;
    >> + break;
    >> default:
    >>
    >
    > What exactly is this good for?
    >

    Extending the interface in a backwards compatible manner. When new
    interfaces are added, it will return 1 (depending on arg) for
    implemented extensions.

    --
    error compiling committee.c: too many arguments to function

    -
    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-18 09:23    [W:0.019 / U:1.104 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site