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: 
Highlighted
Visitor kpit
Visitor
4,564 Views
Registered: ‎02-22-2017

Qemu Error main-loop: WARNING: I/O thread spun for 1000 iterations

Hi,

   I am facing the following error while running a standalone code on ZCU702 using QEMU.

Qemu throws this error when I start execution and then the code does not work.

 

main-loop: WARNING: I/O thread spun for 1000 iterations

 

Is there a possible solution for this?

0 Kudos
4 Replies
Xilinx Employee
Xilinx Employee
4,559 Views
Registered: ‎08-01-2008

Re: Qemu Error main-loop: WARNING: I/O thread spun for 1000 iterations

You can try force everything to be blocking. You have to set a variable in the main loop which controls blocking.
Thanks and Regards
Balkrishan
--------------------------------------------------------------------------------------------
Please mark the post as an answer "Accept as solution" in case it helped resolve your query.
Give kudos in case a post in case it guided to the solution.
0 Kudos
Moderator
Moderator
4,543 Views
Registered: ‎12-04-2016

Re: Qemu Error main-loop: WARNING: I/O thread spun for 1000 iterations

Hi

 

Go to QEMU source file "vl.c", and you must be seeing this below line in the file:

nonblocking = !kvm_enabled() && !xen_enabled() && last_io > 0;

Just comment it out and instead set this variable to 0, something like this:

nonblocking = 0;

 

Check this, it should probably work

 

 

Best Regards

Shabbir

0 Kudos
Visitor kpit
Visitor
4,363 Views
Registered: ‎02-22-2017

Re: Qemu Error main-loop: WARNING: I/O thread spun for 1000 iterations

I am using the executable that I got when I installed the XSDK. From where do I clone the source files?

0 Kudos
Observer nenghan
Observer
837 Views
Registered: ‎06-07-2018

Re: Qemu Error main-loop: WARNING: I/O thread spun for 1000 iterations

Hi,

 

I cant seems to find the vl.c file. Can you let us know the path? Thanks.

0 Kudos