aboutsummaryrefslogtreecommitdiff
path: root/net/util.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2021-06-24 12:38:20 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-07-09 18:20:27 +0200
commitd7795d3cc52fa8c297908912a9541ecd4f810f03 (patch)
tree6993231691049b4c57dcbb1d9f4fbc0cedf27e78 /net/util.h
parent819b8b13c1bc48080f4ca526c6e12d58a27ea887 (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