mirror of
https://github.com/mborgerson/xemu.git
synced 2025-12-01 16:10:01 +00:00
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>
This commit is contained in:
@ -46,6 +46,7 @@ typedef struct QEMUOptionParameter {
|
||||
char* s;
|
||||
} value;
|
||||
const char *help;
|
||||
bool assigned;
|
||||
} QEMUOptionParameter;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user