* Re: qemu device emulation libraries (was [PATCH] Patches from the [not found] <1aa37d910709020650v7c491985r761886db64435ac0@mail.gmail.com> @ 2007-09-04 19:40 ` Hollis Blanchard [not found] ` <1188852253.10151.3.camel@squirrel> 1 sibling, 0 replies; 4+ messages in thread From: Hollis Blanchard @ 2007-09-04 19:40 UTC (permalink / raw) To: kvm-ppc-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f [This mail was also posted to gmane.comp.emulators.qemu.] On Mon, 03 Sep 2007 15:44:13 -0500, Anthony Liguori wrote: > On Mon, 2007-09-03 at 18:41 +0300, Blue Swirl wrote: >> On 9/2/07, Maria Zabolotnaya <maria.zabolotnaya-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> > 2-qemu-mplugin.patch >> > Add -mplugin switch to allow loading of shared library and registering a >> > machine declared in it. >> >> Sorry to ruin your GSoC project, but the plugin system was discussed >> last year, please see this thread: >> http://thread.gmane.org/gmane.comp.emulators.qemu/14341/focus=14473 > > I've always agreed that allowing plugins was not a good idea. However, > I had a different thought recently. > > While I don't think there's much of a reason to allow plugins for QEMU, > it would be interesting to make some of QEMU's device emulation into > more a of a library that could be used by other programs. > > With things like KVM making it relatively simple to do CPU emulation, if > QEMU's device emulation was available as a library (even a GPL library), > it would be pretty easy to do interesting things without forking QEMU > which is what everyone seems to be doing these days. > > My initial thought is to make the libraries at the individual device > level. This could be very valuable when thinking about running qemu *on* embedded systems with constrained memory and processing power, which is exactly what the KVM for embedded PowerPC project is considering. In that scenario, being able to strip out all unnecessary functionality (especially including devices known to be irrelevant) becomes very important. Strictly speaking, creating a library isn't required to meet that goal, but it will enforce the modularity we need, and IMHO that is just good coding practice. (I'm not even talking about Anthony's points about avoiding qemu forks, which I also agree with.) -- Hollis Blanchard IBM Linux Technology Center ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <1188852253.10151.3.camel@squirrel>]
[parent not found: <fbkcaq$l0b$1@sea.gmane.org>]
[parent not found: <200709042104.59276.paul@codesourcery.com>]
[parent not found: <200709042104.59276.paul-qD8j1LwMmJjtCj0u4l0SBw@public.gmane.org>]
* Re: [Qemu-devel] Re: qemu device emulation libraries (was [PATCH] Patches from the PyQemu project) [not found] ` <200709042104.59276.paul-qD8j1LwMmJjtCj0u4l0SBw@public.gmane.org> @ 2007-09-04 20:21 ` Hollis Blanchard 2007-09-04 20:38 ` Paul Brook 0 siblings, 1 reply; 4+ messages in thread From: Hollis Blanchard @ 2007-09-04 20:21 UTC (permalink / raw) To: Paul Brook; +Cc: kvm-devel, kvm-ppc-devel, qemu-devel-qX2TKyscuCcdnm+yROfE0A On Tue, 2007-09-04 at 21:04 +0100, Paul Brook wrote: > > This could be very valuable when thinking about running qemu *on* embedded > > systems with constrained memory and processing power, which is exactly what > > the KVM for embedded PowerPC project is considering. In that scenario, > > being able to strip out all unnecessary functionality (especially > > including devices known to be irrelevant) becomes very important. > > If you care about memory overhead the last thing you want is to be loading > loads of bitty little shared libraries. You want to build a single binary > with just the features you need. Hmm, that's a good point. Is that something you think can reasonably be accomplished with qemu today? -- Hollis Blanchard IBM Linux Technology Center ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Re: qemu device emulation libraries (was [PATCH] Patches from the PyQemu project) 2007-09-04 20:21 ` [Qemu-devel] Re: qemu device emulation libraries (was [PATCH] Patches from the PyQemu project) Hollis Blanchard @ 2007-09-04 20:38 ` Paul Brook [not found] ` <200709042138.03999.paul-qD8j1LwMmJjtCj0u4l0SBw@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Paul Brook @ 2007-09-04 20:38 UTC (permalink / raw) To: Hollis Blanchard Cc: kvm-devel, kvm-ppc-devel, qemu-devel-qX2TKyscuCcdnm+yROfE0A On Tuesday 04 September 2007, Hollis Blanchard wrote: > On Tue, 2007-09-04 at 21:04 +0100, Paul Brook wrote: > > > This could be very valuable when thinking about running qemu *on* > > > embedded systems with constrained memory and processing power, which is > > > exactly what the KVM for embedded PowerPC project is considering. In > > > that scenario, being able to strip out all unnecessary functionality > > > (especially including devices known to be irrelevant) becomes very > > > important. > > > > If you care about memory overhead the last thing you want is to be > > loading loads of bitty little shared libraries. You want to build a > > single binary with just the features you need. > > Hmm, that's a good point. Is that something you think can reasonably be > accomplished with qemu today? It should be fairly easy. Paul ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <200709042138.03999.paul-qD8j1LwMmJjtCj0u4l0SBw@public.gmane.org>]
* Re: [Qemu-devel] Re: qemu device emulation libraries (was [PATCH] Patches from the PyQemu project) [not found] ` <200709042138.03999.paul-qD8j1LwMmJjtCj0u4l0SBw@public.gmane.org> @ 2007-09-04 23:38 ` Jimi Xenidis 0 siblings, 0 replies; 4+ messages in thread From: Jimi Xenidis @ 2007-09-04 23:38 UTC (permalink / raw) To: Paul Brook Cc: kvm-devel, kvm-ppc-devel, qemu-devel-qX2TKyscuCcdnm+yROfE0A, Hollis Blanchard On Sep 4, 2007, at 4:38 PM, Paul Brook wrote: > On Tuesday 04 September 2007, Hollis Blanchard wrote: >> On Tue, 2007-09-04 at 21:04 +0100, Paul Brook wrote: >>>> This could be very valuable when thinking about running qemu *on* >>>> embedded systems with constrained memory and processing power, >>>> which is >>>> exactly what the KVM for embedded PowerPC project is >>>> considering. In >>>> that scenario, being able to strip out all unnecessary >>>> functionality >>>> (especially including devices known to be irrelevant) becomes very >>>> important. >>> >>> If you care about memory overhead the last thing you want is to be >>> loading loads of bitty little shared libraries. You want to build a >>> single binary with just the features you need. >> >> Hmm, that's a good point. Is that something you think can >> reasonably be >> accomplished with qemu today? > > It should be fairly easy. Why not both? It could be like the linux kernel, =m means build an SO and =y means link it statically. The key is for it to be modular and configurable. -JX ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-09-04 23:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1aa37d910709020650v7c491985r761886db64435ac0@mail.gmail.com>
2007-09-04 19:40 ` qemu device emulation libraries (was [PATCH] Patches from the Hollis Blanchard
[not found] ` <1188852253.10151.3.camel@squirrel>
[not found] ` <fbkcaq$l0b$1@sea.gmane.org>
[not found] ` <200709042104.59276.paul@codesourcery.com>
[not found] ` <200709042104.59276.paul-qD8j1LwMmJjtCj0u4l0SBw@public.gmane.org>
2007-09-04 20:21 ` [Qemu-devel] Re: qemu device emulation libraries (was [PATCH] Patches from the PyQemu project) Hollis Blanchard
2007-09-04 20:38 ` Paul Brook
[not found] ` <200709042138.03999.paul-qD8j1LwMmJjtCj0u4l0SBw@public.gmane.org>
2007-09-04 23:38 ` Jimi Xenidis
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox