[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/3] Modular command line options
From: |
Fabrice Bellard |
Subject: |
Re: [Qemu-devel] [PATCH 1/3] Modular command line options |
Date: |
Wed, 21 May 2008 22:58:10 +0200 |
User-agent: |
Thunderbird 1.5.0.9 (X11/20070212) |
Jan Kiszka wrote:
> Following up on my earlier proposal to introduce per-machine command
> line options, this version provides a more generic approach. It should
> also be usable for scenarios like per-arch or per-accelerator.
>
> To summarize the approach: Command line options are now organized in
> sets. Each set consists of a list of options, a help text, and a pointer
> the a parse handler that can process the options. The base option set of
> QEMU is automatically registered, more sets can be added via
> qemu_register_option_set().
>
> The patch includes quite some refactoring in order to move the basic
> switches over the new scheme. So you may have a look at the data
> structures in qemu-common.h, but otherwise it is better to apply it and
> then study vl.c. More refactoring of existing switches is likely
> feasible, but first this needs and an OK from (or merging by) the
> maintainers.
> [...]
I am not sure it is the way to follow because soon the configuration
file will be the way to pass elaborated options to QEMU.
Regards,
Fabrice.