aboutsummaryrefslogtreecommitdiff
path: root/qemu-option.h
diff options
context:
space:
mode:
authorMORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>2010-05-26 11:35:36 +0900
committerKevin Wolf <kwolf@redhat.com>2010-05-28 13:14:25 +0200
commitb50cbabc1bc12e6b0082089c70015c1b97db86a1 (patch)
treea15c87269cdba3aa8ba9f0bf2c1dd15f21a20681 /qemu-option.h
parent776cbbbd788686e9735e8d1c008d8bc105fb1fab (diff)
add support for protocol driver create_options
This patch enables protocol drivers to use their create options which are not supported by the format. For example, protcol drivers can use a backing_file option with raw format. Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-option.h')
-rw-r--r--qemu-option.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qemu-option.h b/qemu-option.h
index 58136f3032..4823219a18 100644
--- a/qemu-option.h
+++ b/qemu-option.h
@@ -70,6 +70,8 @@ int set_option_parameter(QEMUOptionParameter *list, const char *name,
const char *value);
int set_option_parameter_int(QEMUOptionParameter *list, const char *name,
uint64_t value);
+QEMUOptionParameter *append_option_parameters(QEMUOptionParameter *dest,
+ QEMUOptionParameter *list);
QEMUOptionParameter *parse_option_parameters(const char *param,
QEMUOptionParameter *list, QEMUOptionParameter *dest);
void free_option_parameters(QEMUOptionParameter *list);