diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2021-06-24 12:38:20 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-07-09 18:20:27 +0200 |
commit | d7795d3cc52fa8c297908912a9541ecd4f810f03 (patch) | |
tree | 6993231691049b4c57dcbb1d9f4fbc0cedf27e78 /net/util.h | |
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>
Diffstat (limited to 'net/util.h')
0 files changed, 0 insertions, 0 deletions