Skip to content
Commit 539aee0e authored by James Morse's avatar James Morse Committed by Marc Zyngier
Browse files

KVM: arm64: Share the parts of get/set events useful to 32bit



The get/set events helpers to do some work to check reserved
and padding fields are zero. This is useful on 32bit too.

Move this code into virt/kvm/arm/arm.c, and give the arch
code some underscores.

This is temporarily hidden behind __KVM_HAVE_VCPU_EVENTS until
32bit is wired up.

Signed-off-by: default avatarJames Morse <james.morse@arm.com>
Reviewed-by: default avatarDongjiu Geng <gengdongjiu@huawei.com>
Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
parent be26b3a7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment