Gerd Hoffmann d7795d3cc5 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>
2021-07-09 18:20:27 +02:00
..
2020-11-03 09:42:52 -05:00
2020-12-10 12:15:18 -05:00
2020-01-06 18:41:32 +04:00
2016-06-07 18:19:23 +03:00
2017-10-16 20:57:13 +03:00
2020-10-15 16:06:27 +02:00
2019-09-11 08:46:17 +02:00
2020-12-10 17:16:44 +01:00
2021-07-06 08:33:51 +02:00
2021-07-09 18:19:00 +02:00
2018-09-26 08:55:54 -07:00
2019-04-18 22:18:59 +02:00
2019-08-16 13:31:52 +02:00
2018-01-16 14:54:50 +01:00
2016-02-23 12:43:05 +00:00
2021-04-30 12:27:47 +02:00
2018-08-24 20:26:37 +02:00
2016-09-15 15:32:22 +03:00
2017-01-24 23:26:52 +03:00
2021-04-01 15:27:44 +04:00