aboutsummaryrefslogtreecommitdiff
path: root/include/qemu/option.h
diff options
context:
space:
mode:
authorVasilis Liaskovitis <vasilis.liaskovitis@profitbricks.com>2013-07-29 16:47:56 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2013-07-29 19:33:33 -0500
commite8cd45c78f53501e75bd455140da63d1b7ed3685 (patch)
treec7724688422ba981b2d6e4024ee11216b699e0a4 /include/qemu/option.h
parentb887796217b7f5b754657e85760693e4ced63356 (diff)
downloadqemu-e8cd45c78f53501e75bd455140da63d1b7ed3685.zip
qemu-e8cd45c78f53501e75bd455140da63d1b7ed3685.tar.gz
qemu-e8cd45c78f53501e75bd455140da63d1b7ed3685.tar.bz2
qdev: Add SIZE type to qdev properties
This patch adds a 'SIZE' type property to qdev. Signed-off-by: Ian Molton <ian.molton@collabora.co.uk> Signed-off-by: Vasilis Liaskovitis <vasilis.liaskovitis@profitbricks.com> Signed-off-by: Hu Tao <hutao@cn.fujitsu.com> Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Andreas Färber <afaerber@suse.de> Message-id: 1375109277-25561-7-git-send-email-imammedo@redhat.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'include/qemu/option.h')
-rw-r--r--include/qemu/option.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/qemu/option.h b/include/qemu/option.h
index 13f5e72..7a58e47 100644
--- a/include/qemu/option.h
+++ b/include/qemu/option.h
@@ -73,6 +73,8 @@ QEMUOptionParameter *append_option_parameters(QEMUOptionParameter *dest,
QEMUOptionParameter *list);
QEMUOptionParameter *parse_option_parameters(const char *param,
QEMUOptionParameter *list, QEMUOptionParameter *dest);
+void parse_option_size(const char *name, const char *value,
+ uint64_t *ret, Error **errp);
void free_option_parameters(QEMUOptionParameter *list);
void print_option_parameters(QEMUOptionParameter *list);
void print_option_help(QEMUOptionParameter *list);