summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2009-05-18 16:42:09 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-05-22 10:50:31 -0500
commitd3f243676addaef6c8d818934565292c698f91cc (patch)
tree4a834799306873ae91572e893bc66c5ced41d39e /sysemu.h
parentallow changing the speed of a running migration (diff)
downloadqemu-kvm-d3f243676addaef6c8d818934565292c698f91cc.tar.gz
qemu-kvm-d3f243676addaef6c8d818934565292c698f91cc.tar.bz2
qemu-kvm-d3f243676addaef6c8d818934565292c698f91cc.zip
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>
Diffstat (limited to 'sysemu.h')
-rw-r--r--sysemu.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sysemu.h b/sysemu.h
index a1dadaa42..92501edce 100644
--- a/sysemu.h
+++ b/sysemu.h
@@ -265,8 +265,6 @@ void do_usb_add(Monitor *mon, const char *devname);
void do_usb_del(Monitor *mon, const char *devname);
void usb_info(Monitor *mon);
-const char *get_opt_name(char *buf, int buf_size, const char *p, char delim);
-const char *get_opt_value(char *buf, int buf_size, const char *p);
int get_param_value(char *buf, int buf_size,
const char *tag, const char *str);
int check_params(const char * const *params, const char *str);