target/arm: kvm: Inject events at the last stage of sync
commitaca53be34ac3e7cac5f39396a51a338860a5a837
authorBeata Michalska <beata.michalska@linaro.org>
Thu, 12 Mar 2020 00:34:00 +0000 (12 00:34 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 12 Mar 2020 16:31:10 +0000 (12 16:31 +0000)
tree2928643f774eb828dcc519cd78714c91948eb57d
parent6785aee00c0797c1c8ce7d07dc434ace464f97ea
target/arm: kvm: Inject events at the last stage of sync

KVM_SET_VCPU_EVENTS might actually lead to vcpu registers being modified.
As such this should be the last step of sync to avoid potential overwriting
of whatever changes KVM might have done.

Signed-off-by: Beata Michalska <beata.michalska@linaro.org>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Message-id: 20200312003401.29017-2-beata.michalska@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/kvm32.c
target/arm/kvm64.c