Revision 8e1b90ec

b/vl.c
1402 1402

  
1403 1403
static void main_loop(void)
1404 1404
{
1405
    bool nonblocking = false;
1406
#ifdef CONFIG_PROFILER
1407
    int64_t ti;
1408
#endif
1405 1409
    int r;
1406 1410

  
1407 1411
    qemu_main_loop_start();
1408 1412

  
1409 1413
    for (;;) {
1410 1414
        do {
1411
            bool nonblocking = false;
1412
#ifdef CONFIG_PROFILER
1413
            int64_t ti;
1414
#endif
1415 1415
#ifndef CONFIG_IOTHREAD
1416 1416
            nonblocking = cpu_exec_all();
1417
            if (!vm_can_run()) {
1418
                nonblocking = true;
1419
            }
1417 1420
#endif
1418 1421
#ifdef CONFIG_PROFILER
1419 1422
            ti = profile_getclock();

Also available in: Unified diff