commit | d7795d3cc52fa8c297908912a9541ecd4f810f03 | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Thu Jun 24 12:38:20 2021 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Jul 09 18:20:27 2021 +0200 |
tree | 6993231691049b4c57dcbb1d9f4fbc0cedf27e78 | |
parent | 819b8b13c1bc48080f4ca526c6e12d58a27ea887 [diff] |
modules: check arch and block load on mismatch Add module_allow_arch() to set the target architecture. In case a module is limited to some arch verify arches match and ignore the module if not. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Jose R. Ziviani <jziviani@suse.de> Message-Id: <20210624103836.2382472-19-kraxel@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>