From: Fabrice Bellard <fabrice@bellard.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] QEMU configuration files
Date: Wed, 18 Jun 2008 20:12:52 +0200 [thread overview]
Message-ID: <48595024.7050400@bellard.org> (raw)
Hi,
My snapshot of the "object based" QEMU configuration system can be found
at http://bellard.org/qemu/patches . I only tried it for x86 targets. It
is not yet in committable state and comments are welcome !
General ideas:
- User preferences and machine definitions are separated. User
preferences are in ~/.qemu/config for Unix systems. Machine definitions
can override user preferences but I believe it should be the exception.
- Command line options override the user preferences and machine
definitions.
- Machine definitions contain machine parameters and device definitions.
Device definitions are used to create new devices not instanciated in
the hardcoded machine definition such as PCI and USB devices.
There are many details which need clarification, in particular:
- PCI, IDE, SCSI and buses naming. It is important if we want to be able
to dynamically instantiate complicated bus topologies.
- USB port naming
- Is it worth specifying board specific network controllers as separate
devices (I tried to do that for smc91c111 devices) ? A simpler solution
would be to add new machine parameters to do that.
- It would be logical to define QEMUDevice for every instanciated device
and that register_savevm() use QEMUDevice as parameter, but it requires
more changes in the code.
- Is it worth handling class defaults parameters ? I find the current
implementation too complicated.
Fabrice.
next reply other threads:[~2008-06-18 18:12 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-18 18:12 Fabrice Bellard [this message]
2008-06-18 19:16 ` [Qemu-devel] Re: QEMU configuration files Sebastian Herbszt
2008-06-18 21:08 ` [Qemu-devel] " Anthony Liguori
2008-06-18 23:49 ` Paul Brook
2008-06-19 0:01 ` Paul Brook
2008-06-19 9:46 ` Fabrice Bellard
2008-06-19 11:40 ` Daniel P. Berrange
2008-06-19 11:52 ` Fabrice Bellard
2008-06-19 14:36 ` Daniel P. Berrange
2008-06-19 11:56 ` [Qemu-devel] " Sebastian Herbszt
2008-06-20 13:11 ` Fabrice Bellard
2008-06-21 8:43 ` Blue Swirl
2008-06-24 15:50 ` [Qemu-devel] " Ian Jackson
2008-06-24 19:50 ` Jamie Lokier
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=48595024.7050400@bellard.org \
--to=fabrice@bellard.org \
--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).