All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: "Kevin Wolf" <kwolf@redhat.com>, "Fam Zheng" <famz@redhat.com>,
	"Stefan Hajnoczi" <stefanha@redhat.com>,
	"Michael Tokarev" <mjt@tls.msk.ru>,
	"QEMU Developers" <qemu-devel@nongnu.org>,
	"Alex Bligh" <alex@alex.org.uk>,
	"Miroslav Rezanina" <mrezanin@redhat.com>,
	"Lluís Vilanova" <vilanova@ac.upc.edu>,
	"Richard Henderson" <rth@twiddle.net>
Subject: Re: [Qemu-devel] [PATCH v16 0/9] Shared library module support
Date: Wed, 15 Jan 2014 17:14:44 +0100	[thread overview]
Message-ID: <52D6B3F4.2030605@redhat.com> (raw)
In-Reply-To: <CAFEAcA8_3bLsx29zRQhnmDxcO9mh=wyT=TiG1G6gJ_LvWfm93g@mail.gmail.com>

Il 15/01/2014 16:40, Peter Maydell ha scritto:
> Further hacking suggests this is probably because we're not
> implementing the curl timeout callback, which curl uses to say
> "call me back in X milliseconds, even if there's no filedescriptor
> action". It looks like the first time or two around curl says "call
> back in 1ms" before it gets things rolling enough to be waiting
> on a filedescriptor. (Then after that it sets a 2second timeout
> presumably so it can deal with unexpected situations like the
> far end never responding.)
> 
> What's the best way to get QEMU's event loop to call back
> after a specified timeout?

You can use aio_timer_new or aio_timer_init.

Paolo

  reply	other threads:[~2014-01-15 16:15 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-15  8:48 [Qemu-devel] [PATCH v16 0/9] Shared library module support Fam Zheng
2014-01-15  8:48 ` [Qemu-devel] [PATCH v16 1/9] rules.mak: fix $(obj) to a real relative path Fam Zheng
2014-01-15  8:48 ` [Qemu-devel] [PATCH v16 2/9] rules.mak: allow per object cflags and libs Fam Zheng
2014-01-15 19:35   ` Peter Maydell
2014-01-16 10:53     ` Fam Zheng
2014-01-16 11:04   ` Peter Maydell
2014-01-16 12:40     ` Fam Zheng
2014-01-16 12:43       ` Paolo Bonzini
2014-01-15  8:48 ` [Qemu-devel] [PATCH v16 3/9] block: use per-object " Fam Zheng
2014-01-15  8:48 ` [Qemu-devel] [PATCH v16 4/9] darwin: do not use -mdynamic-no-pic Fam Zheng
2014-01-15  8:48 ` [Qemu-devel] [PATCH v16 5/9] build-sys: introduce common-obj-m and block-obj-m for DSO Fam Zheng
2014-01-15  8:48 ` [Qemu-devel] [PATCH v16 6/9] module: implement module loading Fam Zheng
2014-01-15 11:53   ` Peter Maydell
2014-01-15 11:56     ` Paolo Bonzini
2014-01-15 12:03       ` Peter Maydell
2014-01-15 12:05         ` Paolo Bonzini
2014-01-15 12:11           ` Peter Maydell
2014-01-15 12:17             ` Paolo Bonzini
2014-01-15 12:09         ` Alex Bligh
2014-01-15 12:10           ` Paolo Bonzini
2014-01-15 12:18             ` Alex Bligh
2014-01-15 12:30               ` Paolo Bonzini
2014-01-16  1:11                 ` Fam Zheng
2014-01-15 12:34     ` Fam Zheng
2014-01-15 12:38       ` Paolo Bonzini
2014-01-15  8:48 ` [Qemu-devel] [PATCH v16 7/9] Makefile: install modules with "make install" Fam Zheng
2014-01-15  8:48 ` [Qemu-devel] [PATCH v16 8/9] .gitignore: ignore module related files (dll, so, mo) Fam Zheng
2014-01-15  8:48 ` [Qemu-devel] [PATCH v16 9/9] block: convert block drivers linked with libs to modules Fam Zheng
2014-01-15 13:11 ` [Qemu-devel] [PATCH v16 0/9] Shared library module support Peter Maydell
2014-01-15 14:11   ` Paolo Bonzini
2014-01-15 14:20     ` Peter Maydell
2014-01-15 14:36       ` Paolo Bonzini
2014-01-15 14:40         ` Peter Maydell
2014-01-15 14:51           ` Paolo Bonzini
2014-01-15 15:29             ` Peter Maydell
2014-01-15 15:40               ` Peter Maydell
2014-01-15 16:14                 ` Paolo Bonzini [this message]
2014-01-16  1:16           ` Fam Zheng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52D6B3F4.2030605@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=alex@alex.org.uk \
    --cc=famz@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=mjt@tls.msk.ru \
    --cc=mrezanin@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=rth@twiddle.net \
    --cc=stefanha@redhat.com \
    --cc=vilanova@ac.upc.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.