diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2013-05-03 18:47:22 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2013-05-03 18:47:22 +0100 |
| commit | 536f25e4c77592b936e50728c83894c23f4f61c8 (patch) | |
| tree | 12d0f528b01a2b97c93cd252df9e159a2b8dcfc9 /hw/i386/kvmvapic.c | |
| parent | 743bddb4b35ceaaf6f95aea581a4130dcae6205a (diff) | |
| download | focaccia-qemu-536f25e4c77592b936e50728c83894c23f4f61c8.tar.gz focaccia-qemu-536f25e4c77592b936e50728c83894c23f4f61c8.zip | |
target-arm: Fix incorrect check of kvm_vcpu_ioctl return value
kvm_vcpu_ioctl() returns -ETHING on error, not ETHING -- correct an incorrect check in kvm_arch_init_vcpu(). This would not have had any significant ill-effects -- we would just have propagated the less useful ENOENT up to the caller rather than the more accurate EINVAL in the unlikely case that the kernel didn't have VFP-D32 support. Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/i386/kvmvapic.c')
0 files changed, 0 insertions, 0 deletions