]> xenbits.xensource.com Git - osstest/qemu.git/commit
target-arm: Implement vCPU reset via KVM_ARM_VCPU_INIT for 32-bit CPUs
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 26 Jun 2014 17:16:13 +0000 (18:16 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 8 Jul 2014 12:05:11 +0000 (13:05 +0100)
commit75c9a1a0473cc5ca9756d11b236c715c7bc0ba67
treef8d1985530290f3dff6f03f5ff50db9bd41276bd
parent6ec1588e09770ac7e9c60194faff6101111fc7f0
target-arm: Implement vCPU reset via KVM_ARM_VCPU_INIT for 32-bit CPUs

Implement kvm_arm_vcpu_init() as a simple call to arm_arm_vcpu_init()
(which uses the KVM_ARM_VCPU_INIT vcpu ioctl to tell the kernel
to re-initialize the vCPU), rather than via the complicated code
which saves a copy of the register state on first init and then
writes it back to the kernel. This is much simpler and brings the
32-bit KVM code into line with the 64-bit code.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1403802973-20841-1-git-send-email-peter.maydell@linaro.org
target-arm/cpu-qom.h
target-arm/kvm32.c