qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/1] KVM: Retry KVM_CREATE_VM on EINTR or EAGAIN
@ 2014-01-09 21:14 thomas knych
  2014-01-09 21:14 ` [Qemu-devel] [PATCH 1/1] " thomas knych
  0 siblings, 1 reply; 8+ messages in thread
From: thomas knych @ 2014-01-09 21:14 UTC (permalink / raw)
  To: qemu-devel; +Cc: pbonzini, thomas knych, gleb, digit


Hi -

I've encountered occassional instability on qemu/kvm startup when the host is heavily loaded and already managing many guest OS's.

In this cases I've seen the KVM_CREATE_VM ioctl  return EINTR or EAGAIN and thats gets treated as fatal.

Adding a retry in these cases has greatly improved our startup reliablity.

I've submitted this patch to Android's qemu source tree and it seemed useful to push it upstream as well.


Thanks,
-Tom

thomas knych (1):
  KVM: Retry KVM_CREATE_VM on EINTR or EAGAIN

 kvm-all.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

-- 
1.8.5.1

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

end of thread, other threads:[~2014-01-15  7:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-09 21:14 [Qemu-devel] [PATCH 0/1] KVM: Retry KVM_CREATE_VM on EINTR or EAGAIN thomas knych
2014-01-09 21:14 ` [Qemu-devel] [PATCH 1/1] " thomas knych
2014-01-10 13:01   ` Paolo Bonzini
2014-01-10 22:15     ` Tom Knych
2014-01-13 11:16       ` Paolo Bonzini
2014-01-14 18:56         ` Andrea Arcangeli
2014-01-15  2:09           ` Tom Knych
2014-01-15  7:47             ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).