From: "Jim C. Brown" <jma5@umd.edu>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Unified device model
Date: Sat, 8 Apr 2006 15:12:19 -0400 [thread overview]
Message-ID: <20060408191219.GB16963@jbrown.mylinuxbox.org> (raw)
In-Reply-To: <E1FSIdM-0002h4-18@lists.gnu.org>
On Sat, Apr 08, 2006 at 09:57:10PM +0200, Stanislav Shwartsman wrote:
> Hello All,
>
>
>
> It is not a secret that all open source emulators (QEMU, Bochs, Xen) use the
> same emulated devices and mostly copy-paste their emulation one from
> another.
While from my understanding Xen uses qemu's hardware emulation for it's VT
support, this is not really true otherwise.
The devices emulated by qemu and bochs are quite similar, but the code looks
completely different (appears to be a ground-up rewrite).
>
> I don't know who originally wrote the device models but now Bochs and QEMU
> maintain two similar implementations of the same devices.
>
> If one of the teams fixes the implementation or add functionality, another
> team mostly copy-paste the changes to their model.
I don't know how well Bochs and qemu keep in touch with each other. I've never
seen a Bochs developer announce themselves here, though.
>
> Xen project forked from QEMU and want to stay in touch with Bochs and QEMU
> device models and contribute the changes to make the model better.
Not true. Xen is completely independent. Unless you are refering to the
hardware emulation - which I believe is qemu's stuff.
>
> I am wondering about making unified device models architecture for open
> source simulators.
>
> The device models will be used in QEMU, Bochs, Xen and other open source
> simulators which would use the device models.
>
I would support this idea, if it was possible.
> I know about two professional teams working in simulation which would like
> to use these device models in their simulator and
>
> could enrich the device library with new devices device interfaces, for
> example with AGP and 3D graphics.
>
> Bochs is already in middle of definition of new true pluginable devices
> architecture.
>
This is welcome news.
> In near future Bochs devices will fully separatable from Bochs binary and
> when could be developed separately from Bochs.
>
> I call to QEMU developers join to this project and come with their
> requirements to plugin architecture.
>
> I don't know if QEMU supports device plugins now but I would like to see
> QEMU a part of this idea,
>
I would as well.
> I would like to get single device shared library which could be loaded to
> Bochs and QEMU and work perfectly for both.
>
> This will eliminate the need to maintain two separate implementations of the
> same devices,
>
> these implementations very fast will converge to single one, C or C++ based,
> Bochs or QEMU based, doesn't matter.
>
> I am listening for your opinions !
>
>
The primary reason given for not making a plugin API for qemu hardware emulation
is that qemu isn't stable enough - the code changes too often to support a stable
API.
Still, it might be easier to add support for plugins based on an external API,
rather than trying to keep a qemu plugin API consistent.
>
> Thanks,
>
> Stanislav
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
--
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.
next prev parent reply other threads:[~2006-04-08 19:12 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-08 19:57 [Qemu-devel] Unified device model Stanislav Shwartsman
2006-04-08 19:12 ` Jim C. Brown [this message]
2006-04-08 19:17 ` Johannes Schindelin
2006-04-08 19:27 ` Leonardo E. Reiter
2006-04-09 6:29 ` Stanislav Shwartsman
2006-04-08 19:28 ` Jim C. Brown
2006-04-09 6:26 ` Stanislav Shwartsman
2006-04-09 10:38 ` Paul Brook
2006-04-09 14:55 ` Jim C. Brown
2006-04-09 15:21 ` Paul Brook
2006-04-09 15:28 ` Sam Barnett-Cormack
2006-04-09 16:08 ` Jim C. Brown
2006-04-09 19:56 ` Stanislav Shwartsman
2006-04-09 21:02 ` Fabrice Bellard
2006-04-09 15:10 ` Jim C. Brown
[not found] <1b33de610604170003q43b6c453ub94d77b1a10ed43b@mail.gmail.com>
2006-04-17 7:09 ` pete sullivan
-- strict thread matches above, loose matches on Subject: below --
2006-04-23 21:03 Einar Larsson
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=20060408191219.GB16963@jbrown.mylinuxbox.org \
--to=jma5@umd.edu \
--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).