qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH v3 4/5] QemuOpts: framework for storing and pars


From: Jan Kiszka
Subject: [Qemu-devel] Re: [PATCH v3 4/5] QemuOpts: framework for storing and parsing options.
Date: Thu, 16 Jul 2009 18:35:32 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

Gerd Hoffmann wrote:
> 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.
> 
> Functions are provided to work with these types.  The plan is that some
> day we will pass around QemuOpts pointers instead of strings filled with
> "key1=value1,key2=value2".

Will this also be able to handle the "-net <type>[,options=...]" special
case? Then it would be really great and could save us a lot of ugly code.

Jan

-- 
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux




reply via email to

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