thomas knych 94ccff1338 KVM: Retry KVM_CREATE_VM on EINTR
Upstreaming this change from Android (https://android-review.googlesource.com/54211).

On heavily loaded machines with many VM instances we see KVM_CREATE_VM
failing with EINTR on this path:

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.  Retrying the system call greatly improves reliability.

Cc: qemu-stable@nongnu.org
Signed-off-by: thomas knych <thomaswk@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2014-01-15 12:58:41 +01:00
2013-12-06 08:55:42 +01:00
2013-11-25 20:35:28 -08:00
2013-12-06 08:55:42 +01:00
2013-12-10 09:23:45 -08:00
2013-12-02 21:02:57 +04:00
2013-12-09 13:33:19 +01:00
2013-11-06 21:47:05 -08:00
2013-12-30 19:05:11 -02:00
2013-11-04 15:39:41 +02:00
2013-10-17 10:10:14 +02:00
2014-01-15 12:58:41 +01:00
2013-10-31 16:58:32 +01:00
2013-12-04 15:19:00 +01:00
2013-12-04 15:19:00 +01:00
2013-11-27 14:02:45 -08:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%