diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-07-22 16:43:03 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-07-27 14:08:23 -0500 |
commit | e27c88fe9eb26648e4fb282cb3761c41f06ff18a (patch) | |
tree | bcddf5a894b07e84ebb72de7e439404613ab240b /hw/device-hotplug.c | |
parent | 7695019bce7f0b552203229e7b89494462ac286f (diff) |
QemuOpts: framework for storing and parsing options.
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".
Check out the next patch to see all this in action ;)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/device-hotplug.c')
0 files changed, 0 insertions, 0 deletions