aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2013-08-29 11:15:44 +0200
committerKevin Wolf <kwolf@redhat.com>2013-08-30 15:28:52 +0200
commitd4ca092a423f1f853a99357bab01a168bb57d625 (patch)
treea7288be03b54437a5674ef84cf4ffa221b59fcfb /include
parent9faa574f7d07109e2256c0b4b63e8711d650f2d8 (diff)
downloadqemu-d4ca092a423f1f853a99357bab01a168bb57d625.zip
qemu-d4ca092a423f1f853a99357bab01a168bb57d625.tar.gz
qemu-d4ca092a423f1f853a99357bab01a168bb57d625.tar.bz2
option: Add assigned flag to QEMUOptionParameter
Adds an "assigned" flag to QEMUOptionParameter which is cleared at the beginning of parse_option_parameters and set on (successful) set_option_parameter and set_option_parameter_int. Signed-off-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/qemu/option.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/qemu/option.h b/include/qemu/option.h
index 7a58e47..63db4cc 100644
--- a/include/qemu/option.h
+++ b/include/qemu/option.h
@@ -46,6 +46,7 @@ typedef struct QEMUOptionParameter {
char* s;
} value;
const char *help;
+ bool assigned;
} QEMUOptionParameter;