generator: Rename 'add_drive_opts' API to 'add_drive'.

By using the once_had_no_optargs flag, this change is backwards
compatible for callers (except Haskell, PHP and GObject as discussed
in earlier commit).
This commit is contained in:
Richard W.M. Jones
2012-07-14 12:42:24 +01:00
parent b48ae2eadf
commit 7486fc6f43
47 changed files with 93 additions and 115 deletions

View File

@@ -35,7 +35,7 @@ public class InspectVM
}
};
g.add_drive_opts (disk, optargs);
g.add_drive (disk, optargs);
// Run the libguestfs back-end.
g.launch ();