« Previous | Next » 

Revision 2292ddae

ID2292ddaeab3467c68efd9e07e17ca0c9fc510fdc

Added by Markus Armbruster over 10 years ago

blockdev: Make drive_add() take explicit type, index parameters

Before, type & index were hidden in printf-like fmt, ... parameters,
which get expanded into an option string. Rather inconvenient for
uses later in this series.

New IF_DEFAULT to ask for the machine's default interface. Before,
that was done by having no option "if" in the option string.

Signed-off-by: Markus Armbruster <>
Signed-off-by: Kevin Wolf <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences