modules: update qom object module comment
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 23 Sep 2020 10:37:28 +0000 (12:37 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 15 Oct 2020 08:43:48 +0000 (10:43 +0200)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20200923103728.12026-1-kraxel@redhat.com

util/module.c

index 836fd444e1fdc347282f3104e976e11c48e24b5c..4349607ad1763b906bd60bb760f37b8fca71a40f 100644 (file)
@@ -250,8 +250,10 @@ bool module_load_one(const char *prefix, const char *lib_name, bool mayfail)
  * only a very few devices & objects.
  *
  * So with the expectation that this will be rather the exception than
- * to rule and the list will not gain that many entries go with a
+ * the rule and the list will not gain that many entries, go with a
  * simple manually maintained list for now.
+ *
+ * The list must be sorted by module (module_load_qom_all() needs this).
  */
 static struct {
     const char *type;