UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
356 Views
Registered: ‎05-22-2018

Xilinx Qemu - Fault_injection error

Jump to solution

Hello,

 

I am using petalinux qemu and trying to inject faults through QMP during execution. I want to read/write to a memory location using the QMP python API.

I am following the steps from https://github.com/Xilinx/qemu/blob/master/docs/fault_injection.txt.

On QEMU side, i am adding -S -qmp unix:/qmp-sock,server to my boot command. And in another terminal trying to use the fault_injection script from qmp folder.

 

I get an error: Could not connect to /qmp-sock.
Has anyone else tried this and what can i do to make the fault_injection work?

 

Thank You,

Khalida.

 

fault.png

0 Kudos
1 Solution

Accepted Solutions
Moderator
Moderator
343 Views
Registered: ‎12-04-2016

Re: Xilinx Qemu - Fault_injection error

Jump to solution

Hi @khalida.begum

 

Do you have the /qmp-sock existing. If not try creating this directory and see if you can connect to qmp-socket

 

 

Best Regards

Shabbir

0 Kudos
2 Replies
Moderator
Moderator
344 Views
Registered: ‎12-04-2016

Re: Xilinx Qemu - Fault_injection error

Jump to solution

Hi @khalida.begum

 

Do you have the /qmp-sock existing. If not try creating this directory and see if you can connect to qmp-socket

 

 

Best Regards

Shabbir

0 Kudos
Moderator
Moderator
335 Views
Registered: ‎12-04-2016

Re: Xilinx Qemu - Fault_injection error

Jump to solution

Hi @khalida.begum

 

At petalinux side, you have to run this command:

 petalinux-boot --qemu --kernel --qemu-args "-S -qmp unix:/qmp-sock,server"

 

 

Best Regards

Shabbir

0 Kudos