public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Complain against lack of document on KVM_EXIT_INTR
@ 2011-04-05 15:38 Asias He
  2011-04-06  7:37 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Asias He @ 2011-04-05 15:38 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm

[-- Attachment #1: Type: text/plain, Size: 162 bytes --]

Hi, Avi

I can not find any document about the KVM_EXIT_INTR. Would you please
update Documentation/kvm/api.txt.

Thanks.

-- 
Best Regards,
Asias He


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 900 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Complain against lack of document on KVM_EXIT_INTR
  2011-04-05 15:38 Complain against lack of document on KVM_EXIT_INTR Asias He
@ 2011-04-06  7:37 ` Avi Kivity
  0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2011-04-06  7:37 UTC (permalink / raw)
  To: Asias He; +Cc: kvm

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-04-06  7:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-05 15:38 Complain against lack of document on KVM_EXIT_INTR Asias He
2011-04-06  7:37 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox