commit | 538c7c63a432f4b221cdb35d35b9a0a899a9050c | [log] [tgz] |
---|---|---|
author | Vincent Donnefort <vdonnefort@google.com> | Tue Feb 07 11:56:46 2023 +0000 |
committer | Vincent Donnefort <vdonnefort@google.com> | Tue Feb 07 12:12:28 2023 +0000 |
tree | 6fc9afeb6189ed4f8630be7941b409a20623a473 | |
parent | 1844e94d4326ee59787a48e2dea4da611723bc99 [diff] |
[ DONOTMERGE ] hyp puts demo
diff --git a/arch/arm64/kvm/hyp/nvhe/modules.c b/arch/arm64/kvm/hyp/nvhe/modules.c index bfbb736..5b51944 100644 --- a/arch/arm64/kvm/hyp/nvhe/modules.c +++ b/arch/arm64/kvm/hyp/nvhe/modules.c
@@ -128,7 +128,11 @@ int __pkvm_init_module(void *module_init) ret = -EACCES; goto err; } + hyp_puts("Try to load module ..."); + ret = do_module_init(&module_ops); + + hyp_puts(ret ? "Module loading failed!" : "Module loaded!"); err: pkvm_modules_unlock();