Skip to content
Commit a2344ff4 authored by Steven Price's avatar Steven Price
Browse files

KVM: arm64: Validate register access for a Realm VM



The RMM only allows setting the lower GPRS (x0-x7) and PC for a realm
guest. Check this in kvm_arm_set_reg() so that the VMM can receive a
suitable error return if other registers are accessed.

Signed-off-by: Steven Price's avatarSteven Price <steven.price@arm.com>
parent b95ac40e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment