Revision 1745eaaa

b/vl.c
1391 1391

  
1392 1392
static int vm_can_run(void)
1393 1393
{
1394
    if (powerdown_requested)
1395
        return 0;
1396
    if (reset_requested)
1397
        return 0;
1398
    if (shutdown_requested)
1399
        return 0;
1400
    if (debug_requested)
1401
        return 0;
1402
    return 1;
1394
    return !(powerdown_requested ||
1395
             reset_requested ||
1396
             shutdown_requested ||
1397
             debug_requested ||
1398
             vmstop_requested);
1403 1399
}
1404 1400

  
1405 1401
qemu_irq qemu_system_powerdown;

Also available in: Unified diff