[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 4/5] QemuOpts: framework for storing and pars
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH v3 4/5] QemuOpts: framework for storing and parsing options. |
Date: |
Fri, 17 Jul 2009 09:03:16 +0200 |
User-agent: |
Thunderbird 2.0.0.21 (X11/20090320) |
Gerd Hoffmann schrieb:
> This stores device parameters in a better way than unparsed strings.
>
> New types:
> QemuOpt - one key-value pair.
> QemuOpts - group of key-value pairs, belonging to one
> device, i.e. one drive.
> QemuOptsList - list of some kind of devices, i.e. all drives.
What about having the options typed like I did in qemu-option.[ch]?
In general qemu-option seems to do more parsing/checking than QemuOpts
does, on the other hand it's not yet generic enough to suit everything.
Maybe a combination of both would be the right thing?
Kevin
- [Qemu-devel] [PATCH v3 0/5] cleanup drive handling., Gerd Hoffmann, 2009/07/16
- [Qemu-devel] [PATCH v3 2/5] add support for drive ids., Gerd Hoffmann, 2009/07/16
- [Qemu-devel] [PATCH v3 4/5] QemuOpts: framework for storing and parsing options., Gerd Hoffmann, 2009/07/16
- [Qemu-devel] Re: [PATCH v3 4/5] QemuOpts: framework for storing and parsing options., Jan Kiszka, 2009/07/16
- Re: [Qemu-devel] [PATCH v3 4/5] QemuOpts: framework for storing and parsing options.,
Kevin Wolf <=
- Re: [Qemu-devel] [PATCH v3 4/5] QemuOpts: framework for storing and parsing options., Gerd Hoffmann, 2009/07/21
- Re: [Qemu-devel] [PATCH v3 4/5] QemuOpts: framework for storing and parsing options., Kevin Wolf, 2009/07/21
- Re: [Qemu-devel] [PATCH v3 4/5] QemuOpts: framework for storing and parsing options., Gerd Hoffmann, 2009/07/22
- Re: [Qemu-devel] [PATCH v3 4/5] QemuOpts: framework for storing and parsing options., Kevin Wolf, 2009/07/22
- Re: [Qemu-devel] [PATCH v3 4/5] QemuOpts: framework for storing and parsing options., Gerd Hoffmann, 2009/07/22
[Qemu-devel] [PATCH v3 3/5] kill drives_opt, Gerd Hoffmann, 2009/07/16
[Qemu-devel] [PATCH v3 5/5] switch -drive to QemuOpts., Gerd Hoffmann, 2009/07/16