diff options
| author | Kevin Wolf <kwolf@redhat.com> | 2014-09-18 11:48:34 +0200 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2014-09-25 15:24:14 +0200 |
| commit | 5abbf0ee4d87c695deb1c3fca9bb994b93a3e3be (patch) | |
| tree | f4c1067304268d1d1d7e823b97e8d8ec0bcb2462 /util/qemu-option.c | |
| parent | 247147fbc107f818630c4044931de39b89c99342 (diff) | |
| download | focaccia-qemu-5abbf0ee4d87c695deb1c3fca9bb994b93a3e3be.tar.gz focaccia-qemu-5abbf0ee4d87c695deb1c3fca9bb994b93a3e3be.zip | |
block: Catch simultaneous usage of options and their aliases
While thinking about precedence of conflicting block device options from different sources, I noticed that you can specify both an option and its legacy alias at the same time (e.g. readonly=on,read-only=off). Rather than specifying the order of precedence, we should simply forbid such combinations. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: BenoƮt Canet <benoit.canet@nodalink.com> Reviewed-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'util/qemu-option.c')
0 files changed, 0 insertions, 0 deletions