diff options
author | Keqian Zhu <zhukeqian1@huawei.com> | 2020-08-17 19:07:28 +0800 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-12-03 19:02:18 +0000 |
commit | 652d0b701d136ede6bc8a977b3abbe2d420226b9 (patch) | |
tree | a13bbcef2ce8cd310d58ea36dc70aeae379b7a70 /arch/arm64/kvm/irq.h | |
parent | 94558543213ae8c83be5d01b83c1fe7530e8a1a0 (diff) |
KVM: arm64: Use kvm_write_guest_lock when init stolen time
There is a lock version kvm_write_guest. Use it to simplify code.
Signed-off-by: Keqian Zhu <zhukeqian1@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Link: https://lore.kernel.org/r/20200817110728.12196-3-zhukeqian1@huawei.com
Diffstat (limited to 'arch/arm64/kvm/irq.h')
0 files changed, 0 insertions, 0 deletions