« Previous | Next » 

Revision 8212c64f

ID8212c64f0e1b32300b7ec4e79885a0caf6f521a6

Added by Markus Armbruster about 12 years ago

qemu-option: Move the implied first name into QemuOptsList

We sometimes permit omitting the first option name, for example
-device foo is short for -device driver=foo. The name to use
("driver" in the example) is passed as argument to qemu_opts_parse().
For each QemuOptsList, we use at most one such name.

Move the name into QemuOptsList, and pass whether to permit the
abbreviation. This ensures continued consistency, and simplifies the
commit after next in this series.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences