qemu-devel
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]