amluto / virtme

An easy way to virtualize the running system
GNU General Public License v2.0
330 stars 66 forks source link

virtme/architectures.py: Fix ppc64le support #76

Closed marcosps closed 1 year ago

marcosps commented 2 years ago

Fix virtme usage on ppc64le. virtme-run tries to match the uname.machine with all supported architectures and returns an Arch object. There isn't a 'ppc64le' version, so it ends up in the Arch_unknown('ppc64le'), which later on is used to find the qemu-system-$arch command.

There isn't a qemu-system-ppc64le, only qemu-system-{ppc,ppc64}. Replicating the configuration for ppc64 and ppc64le fixes the problem.

Signed-off-by: Marcos Paulo de Souza mpdesouza@suse.com

marcosps commented 2 years ago

Tested in a ppc64le machine.

arighi commented 1 year ago

This has been merged in https://github.com/arighi/virtme

NOTE: we are trying to catch up with all the pending PR in this temporary fork. In the future we may merge everything back here if this project become active again, but for now please consider to follow also the development of arighi/virtme.