diff options
author | Max Reitz <mreitz@redhat.com> | 2013-08-29 11:15:44 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2013-08-30 15:28:52 +0200 |
commit | d4ca092a423f1f853a99357bab01a168bb57d625 (patch) | |
tree | a7288be03b54437a5674ef84cf4ffa221b59fcfb /include/qemu/option.h | |
parent | 9faa574f7d07109e2256c0b4b63e8711d650f2d8 (diff) | |
download | qemu-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/qemu/option.h')
-rw-r--r-- | include/qemu/option.h | 1 |
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; |