From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Complain against lack of document on KVM_EXIT_INTR Date: Wed, 06 Apr 2011 10:37:35 +0300 Message-ID: <4D9C183F.1050906@redhat.com> References: <4D9B3765.8000703@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Asias He Return-path: Received: from mx1.redhat.com ([209.132.183.28]:63061 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752702Ab1DFHhj (ORCPT ); Wed, 6 Apr 2011 03:37:39 -0400 In-Reply-To: <4D9B3765.8000703@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: On 04/05/2011 06:38 PM, Asias He wrote: > Hi, Avi > > I can not find any document about the KVM_EXIT_INTR. Would you please > update Documentation/kvm/api.txt. KVM_EXIT_INTR should not be used. Instead test for ioctl(KVM_RUN) == -1 && errno = EINTR. In that case, kvm sets kvm_run->exit_reason to KVM_EXIT_INTR, but that is not part of the ABI. -- error compiling committee.c: too many arguments to function