]> Git Repo - qemu.git/commit
python/qemu: accel: Fix kvm_available() on ppc64le
authorWainer dos Santos Moschetta <[email protected]>
Wed, 5 Feb 2020 20:32:46 +0000 (15:32 -0500)
committerPhilippe Mathieu-Daudé <[email protected]>
Fri, 7 Feb 2020 14:12:48 +0000 (15:12 +0100)
commit51aa9d127d4ecaaaf6dfa10da130e3974b0e5286
treee48768793163b0a9b70ff4f49d7021d5286c64be
parent50d189c97ab8ed3de80d0ed22a867e1d5361fd02
python/qemu: accel: Fix kvm_available() on ppc64le

On ppc64le, the accel.kvm_available() check may wrongly
return False because the host arch (as returned by os.uname[4])
and the target arch (ppc64) mismatch. In order to solve this
it is added an ppc64le -> ppc64 mapping which is used as an
fallback verification.

Fixes: 53a049d7d78e5ccf6d4c0d7
Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <20200205203250[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
python/qemu/accel.py
This page took 0.025448 seconds and 4 git commands to generate.