qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/1] KVM: Retry KVM_CREATE_VM on EINTR or EAGAIN


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 1/1] KVM: Retry KVM_CREATE_VM on EINTR or EAGAIN
Date: Mon, 13 Jan 2014 12:16:11 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130923 Thunderbird/17.0.9

Il 10/01/2014 23:15, Tom Knych ha scritto:
> I'll flip the conditional check
> 
> So I traced thru the code and the one path I saw returning EINTR was:
> 
> kvm_dev_ioctl_create_vm -> kvm_create_vm -> kvm_init_mmu_notifier ->
> mmu_notifier_register ->  do_mmu_notifier_register -> mm_take_all_locks
> 
> Which checks if any signals have been raised while it was attaining
> locks and returns EINTR.
> 
> Going thru my logs - all of my errors actually are EINTRs I'll remove
> the EAGAIN

Andrea, what do you think here?  Is it intended that
kvm_init_mmu_notifier return an EINTR that percolates up to userspace?

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]