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:
Vincent Donnefort <vdonnefort@google.com>
Loading
Please sign in to comment