![]() | |||||||||||||
Messages in this thread |
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 [from the cache] ©2003-2008 | |||||||||||||