qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Re: [Qemu-devel] Unified device model
@ 2006-04-23 21:03 Einar Larsson
  0 siblings, 0 replies; 17+ messages in thread
From: Einar Larsson @ 2006-04-23 21:03 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1805 bytes --]

I think that a device model with support for devices in shared libraries
combined with dynamic definition of the simulated HW would be great to be
able to support a large number of HW variants in QEmu.

I have developed several full system simulators for large embedded systems,
and we have always ended up with a systems with a very small component
runtime combined with a script based description of the system to simulate.
All parts of the system except the component loading and instantiation was
implemented as dynamically loaded components. I have worked on
implementations that use a pure C based component model as well as systems
that supports both C and C++ bindings for interface implementation.

I have not been able to find any information about the proposed Bochs
component model. Stanislav: where can I find any information about the Bochs
plugin architecture that you talk about?

Among the open source component frameworks i guess that XPCOM used in the
Mozilla products is one of the most interesting. It currently support C++,
Python and Java bindings but it can easily support C as well.

/Einar


I strongly support the idea of being able to use shared objects to be
> able to have a more dynamic device model; I can work on moving some of
> the drivers over to whatever new model that you figure out.
>
> It'd be nice too to have a dynamic board definition.  For instance,
> being able to describe in a configuration file a board with some odd
> configuration (eg. 10 serial port, no IDE controller) without
> recompiling would be helpful.  I'm not sure what kind of file format's
> appropriate.
>
> The number of supported devices on QEMU is going to explode... Having a
> good scalable architecture is going to be very useful.
>
> - Alex
>
>

[-- Attachment #2: Type: text/html, Size: 1989 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread
[parent not found: <1b33de610604170003q43b6c453ub94d77b1a10ed43b@mail.gmail.com>]
* [Qemu-devel] Unified device model
@ 2006-04-08 19:57 Stanislav Shwartsman
  2006-04-08 19:12 ` Jim C. Brown
  0 siblings, 1 reply; 17+ messages in thread
From: Stanislav Shwartsman @ 2006-04-08 19:57 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1823 bytes --]

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.

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.

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.

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 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. 

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 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 !

 

Thanks,

Stanislav


[-- Attachment #2: Type: text/html, Size: 5766 bytes --]

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

end of thread, other threads:[~2006-04-23 21:03 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-23 21:03 [Qemu-devel] Unified device model Einar Larsson
     [not found] <1b33de610604170003q43b6c453ub94d77b1a10ed43b@mail.gmail.com>
2006-04-17  7:09 ` pete sullivan
  -- strict thread matches above, loose matches on Subject: below --
2006-04-08 19:57 Stanislav Shwartsman
2006-04-08 19:12 ` Jim C. Brown
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

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).