diff options
author | Wainer dos Santos Moschetta <wainersm@redhat.com> | 2020-02-05 15:32:46 -0500 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@redhat.com> | 2020-02-07 15:12:48 +0100 |
commit | 51aa9d127d4ecaaaf6dfa10da130e3974b0e5286 (patch) | |
tree | e48768793163b0a9b70ff4f49d7021d5286c64be /version.rc | |
parent | 50d189c97ab8ed3de80d0ed22a867e1d5361fd02 (diff) | |
download | qemu-51aa9d127d4ecaaaf6dfa10da130e3974b0e5286.zip qemu-51aa9d127d4ecaaaf6dfa10da130e3974b0e5286.tar.gz qemu-51aa9d127d4ecaaaf6dfa10da130e3974b0e5286.tar.bz2 |
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 <wainersm@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200205203250.30526-5-wainersm@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'version.rc')
0 files changed, 0 insertions, 0 deletions