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 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ kvm-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kvm-devel
