qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] Is it possible to run a python script from qemu-ppc-stati


From: Mike Wu
Subject: [Qemu-discuss] Is it possible to run a python script from qemu-ppc-static?
Date: Tue, 9 Jan 2018 10:44:18 -0800

Is it possible to run a python script from qemu-ppc-static?

My host is rhel 4.4.6 and the target is Debian on PowerPC.

I have a number of ppc exes that can run by:

    qemu-ppc-static hello (hello is the ppc executiable)

I have a ppc python extension (for example my_py_ext.so) that I would like
to test in ppc environment.  So I created a python script
(test_my_py_ext.py) that imports my_py_ext.so and does other testing. I
would like to run test_my_py_ext.py on the target (ppc) using
qemu-ppc-static but it errors out with: “Exec format error”.

I also tried to pass a python2.7 executable (ppc version) to
qemu-ppc-static:

qemu-ppc-static python2.7

But I got “Invalid data memory access: “ error.


Thanks,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]