From: Antti Kantee <pooka@iki.fi>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>,
Justin Cormack <justin@specialbusservice.com>
Cc: Anthony PERARD <anthony.perard@citrix.com>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>,
Eric Shelton <eshelton@pobox.com>
Subject: Re: qemu-upstream stubdom - status?
Date: Tue, 08 Apr 2014 22:54:47 +0000 [thread overview]
Message-ID: <53447E37.4040505@iki.fi> (raw)
In-Reply-To: <21316.13880.460544.940532@mariner.uk.xensource.com>
On 08/04/14 17:47, Ian Jackson wrote:
> Justin Cormack writes ("Re: qemu-upstream stubdom - status?"):
>> On Tue, Apr 8, 2014 at 6:03 PM, Ian Jackson <Ian.Jackson@eu.citrix.com> wrote:
>>> The big one there is pthreads but I don't think we actually need that
>>> for qemu-dm, provided we have aio, which it looks like we do ?
>>
>> The aio syscalls are not in the rump kernel at present. They could
>> easily be added but not sure that signal notification will work in
>> rump, although polling should. Unfortunately NetBSD does not have
>> kqueue aio support yet, which would be ideal.
>
> Hmm. I was going to say that qemu doesn't want signal notification.
> But actually it is doing something with threads. I think this can
> probably be fixed in qemu.
Yea, it probably can be fixed in qemu, but I'd still like to have
~generic(*) pthreads available for the rump kernel driver stack. I
started playing with pthreads support. It shouldn't be too difficult in
principle, but as usual, details are everything and saying that
something isn't difficult tends to jinx it... Meanwhile, don't let that
stop you from creating a qemu-specific solution; insight from a
"meet-in-the-middle" type of implementation attack never hurts.
I'll also include the aio syscall driver, for the sake of completeness,
even if it's not strictly speaking required here.
If there are build problems in the future, check
http://builds.rumpkernel.org. We usually fix problems flagged there
within an hour or two (does not apply to the NetBSD HEAD build, which
also depends on the state of NetBSD HEAD itself).
*) in a cpu-bound thread without any I/O blocking points, the lack of a
clock interrupt like scheduling facility is a bit of a bummer. I'm
assuming that's not an issue with qemu's use of threads.
prev parent reply other threads:[~2014-04-08 22:54 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-07 20:50 qemu-upstream stubdom - status? Eric Shelton
2014-04-08 10:49 ` George Dunlap
2014-04-08 11:26 ` Anthony PERARD
2015-01-08 16:39 ` Eric Shelton
2014-04-08 10:49 ` Ian Jackson
2014-04-08 11:33 ` Antti Kantee
2014-04-08 17:03 ` Ian Jackson
2014-04-08 17:04 ` Justin Cormack
2014-04-08 17:47 ` Ian Jackson
2014-04-08 17:13 ` Justin Cormack
2014-04-08 17:47 ` Ian Jackson
2014-04-08 22:54 ` Antti Kantee [this message]
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=53447E37.4040505@iki.fi \
--to=pooka@iki.fi \
--cc=Ian.Jackson@eu.citrix.com \
--cc=anthony.perard@citrix.com \
--cc=eshelton@pobox.com \
--cc=justin@specialbusservice.com \
--cc=xen-devel@lists.xen.org \
/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 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).