diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2022-09-30 12:38:24 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2022-10-10 14:52:23 +0100 |
commit | bbde13cd14ad4eec18529ce0bf5876058464e124 (patch) | |
tree | 6b5595ecad836d66e4102bfb5217c84ad1ecce1f /hw/misc/mips_itu.c | |
parent | f1d33f55c47dfdaf8daacd618588ad3ae4c452d1 (diff) | |
download | qemu-bbde13cd14ad4eec18529ce0bf5876058464e124.zip qemu-bbde13cd14ad4eec18529ce0bf5876058464e124.tar.gz qemu-bbde13cd14ad4eec18529ce0bf5876058464e124.tar.bz2 |
target/arm/kvm: Retry KVM_CREATE_VM call if it fails EINTR
Occasionally the KVM_CREATE_VM ioctl can return EINTR, even though
there is no pending signal to be taken. In commit 94ccff13382055
we added a retry-on-EINTR loop to the KVM_CREATE_VM call in the
generic KVM code. Adopt the same approach for the use of the
ioctl in the Arm-specific KVM code (where we use it to create a
scratch VM for probing for various things).
For more information, see the mailing list thread:
https://lore.kernel.org/qemu-devel/8735e0s1zw.wl-maz@kernel.org/
Reported-by: Vitaly Chikunov <vt@altlinux.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Vitaly Chikunov <vt@altlinux.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Message-id: 20220930113824.1933293-1-peter.maydell@linaro.org
Diffstat (limited to 'hw/misc/mips_itu.c')
0 files changed, 0 insertions, 0 deletions