[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qemu-discuss
Subject:    [Qemu-discuss] Is it possible to run a python script from qemu-ppc-static?
From:       Mike Wu <mikewu7102 () gmail ! com>
Date:       2018-01-09 18:44:18
Message-ID: CAFcAnFEj7+kws7iaeWUKC2B3yyjYm0GR10yyE_qOEzam5cQxBQ () mail ! gmail ! com
[Download RAW message or body]

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,

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic