/* Initialize progress reporting. If @enabled is false, actual reporting is suppressed. The user can still trigger a report by sending a SIGUSR1. Reports are also suppressed unless we've had at least @min_skip percent progress since the last report.  */
void qemu_progress_init(int enabled, float min_skip)
/* Initialize progress reporting. If @enabled is false, actual reporting is suppressed. The user can still trigger a report by sending a SIGUSR1. Reports are also suppressed unless we've had at least @min_skip percent progress since the last report.  */
void qemu_progress_init(int enabled, float min_skip)
{
    state.min_skip = min_skip;
    if (enabled) {
        progress_simple_init();
    } else {
        progress_dummy_init();
    }
}