Commit cbd7c4ca authored by Vincent Donnefort's avatar Vincent Donnefort
Browse files

ANDROID: KVM: arm64: Do not pkvm_init_devices() when no registered devices



When registered_devices_nr is 0, the donation would fail leading to a
wrong -EPERM error.

Bug: 357781595
Bug: 384432312
Change-Id: Ib1e057387a60e47b41750fdfee85f5b440b7a81e
Signed-off-by: default avatarVincent Donnefort <vdonnefort@google.com>
parent 1fad370b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment