From: Jan Kiszka <jan.kiszka@web.de>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: Modular qemu?
Date: Fri, 05 Dec 2008 19:56:23 +0100 [thread overview]
Message-ID: <49397957.4090602@web.de> (raw)
In-Reply-To: <493970B9.3060807@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 1606 bytes --]
Avi Kivity wrote:
> Anthony Liguori wrote:
>> Plugins are not the solution though.
>
> What about non-plugin dlopen()? Right now building qemu (with all
> options enabled) requires a large amount of libraries, hence a lot of
> dependencies. For example, a server setup that will only be used with
> -vnc needs to have SDL installed. This will only get worse with opengl
> support.
>
> I'm thinking of something similar to linux kernel modules: no backward
> compatible ABI, simply load-on-demand functionality that can be packaged
> separately to reduce dependencies. With kvm integrated, we could even
> make the cpu emulator an optional loadable module.
At work, we are currently using this model to separate a very special
machine emulation from the latest and greatest qemu (or kvm-userspace)
core. We only patch the core with support to load "machine libraries"
that provide additional QEMUMachine definitions. The idea is definitely
_not_ to distribute a binary-only machine library with the product one
day, but to ease the build process. We also face the unavoidable API
breakages from time to time, and the whole things is not really clean
due to callbacks into the core all over the place, but otherwise it does
its job.
As it is not clean and we are still busy with more important stuff, I
haven't posted any RFC yet. The biggest issue, besides finding a
consensus if such pluging concepts are desired at all, is working out
clean (but not necessarily stable) APIs for calling from the plugins
into the core. Right now we simply export everything.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]
next prev parent reply other threads:[~2008-12-05 18:56 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-05 10:53 [Qemu-devel] Modular qemu? Joop Boonen
2008-12-05 12:40 ` Carl-Daniel Hailfinger
2008-12-05 14:32 ` Anthony Liguori
2008-12-05 14:52 ` Laurent Desnogues
2008-12-05 15:07 ` Glauber Costa
2008-12-05 15:29 ` Anthony Liguori
2008-12-05 15:25 ` Anthony Liguori
2008-12-05 18:19 ` Avi Kivity
2008-12-05 18:54 ` Thiemo Seufer
2008-12-05 19:02 ` Avi Kivity
2008-12-05 19:27 ` Anthony Liguori
2008-12-05 19:37 ` Avi Kivity
2008-12-05 19:58 ` Anthony Liguori
2008-12-05 18:56 ` Jan Kiszka [this message]
2008-12-05 18:57 ` Anthony Liguori
2008-12-05 19:12 ` Avi Kivity
2008-12-09 13:06 ` Jun Koi
2008-12-09 13:17 ` Stefano Stabellini
2008-12-09 13:44 ` Avi Kivity
2008-12-05 22:10 ` Edgar E. Iglesias
2008-12-06 13:23 ` Lionel Landwerlin
2008-12-08 10:15 ` Stefano Stabellini
2008-12-17 13:34 ` Ian Jackson
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=49397957.4090602@web.de \
--to=jan.kiszka@web.de \
--cc=qemu-devel@nongnu.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).