Create qemu-option.h
authorKevin Wolf <kwolf@redhat.com>
Mon, 18 May 2009 14:42:09 +0000 (16:42 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 22 May 2009 15:50:31 +0000 (10:50 -0500)
commitd3f243676addaef6c8d818934565292c698f91cc
tree4a834799306873ae91572e893bc66c5ced41d39e
parentdaa91de28dd011a39b80d76da96c432273fb5bf2
Create qemu-option.h

This patch creates a new header file and the corresponding implementation file
for parsing of parameter strings for options (like used in -drive). Part of
this is code moved from vl.c (so qemu-img can use it later).

The idea is to have a data structure describing all accepted parameters. When
parsing a parameter string, the structure is copied and filled with the
parameter values.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Makefile
qemu-option.c [new file with mode: 0644]
qemu-option.h [new file with mode: 0644]
sysemu.h
vl.c