qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 17/18] modules: check arch and block load on mismatch


From: Gerd Hoffmann
Subject: Re: [PATCH v2 17/18] modules: check arch and block load on mismatch
Date: Thu, 10 Jun 2021 16:03:54 +0200

  Hi,

> Is the JSON file completely static, listing all modules that were built
> regardless of whether they are currently installed, or would it need to
> be refreshed when installing/uninstalling RPMs with modules ? I would
> think we can do the former and simply handle missing modules on disk
> fairly easily

We can do both.  The file is generated and installed as part of the
build/install process, and it can be simply used as-is even if some of
the modules are missing.

It's also possible to update the modinfo.json file in postinstall /
postuninstall by simply running qemu-modinfo, so only the modules
actually installed are listed there.

take care,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]