options.c (9605c2ac282c565bb00b5f344217161bef29eff8) options.c (873f674c559e3162a6e6e92994301d400c5cc873)
1/*
2 * QEMU migration capabilities
3 *
4 * Copyright (c) 2012-2023 Red Hat Inc
5 *
6 * Authors:
7 * Orit Wasserman <owasserm@redhat.com>
8 * Juan Quintela <quintela@redhat.com>

--- 513 unchanged lines hidden (view full) ---

522{
523 MigrationState *s;
524
525 s = migrate_get_current();
526
527 return s->parameters.cpu_throttle_initial;
528}
529
1/*
2 * QEMU migration capabilities
3 *
4 * Copyright (c) 2012-2023 Red Hat Inc
5 *
6 * Authors:
7 * Orit Wasserman <owasserm@redhat.com>
8 * Juan Quintela <quintela@redhat.com>

--- 513 unchanged lines hidden (view full) ---

522{
523 MigrationState *s;
524
525 s = migrate_get_current();
526
527 return s->parameters.cpu_throttle_initial;
528}
529
530bool migrate_cpu_throttle_tailslow(void)
531{
532 MigrationState *s;
533
534 s = migrate_get_current();
535
536 return s->parameters.cpu_throttle_tailslow;
537}
538
530int migrate_decompress_threads(void)
531{
532 MigrationState *s;
533
534 s = migrate_get_current();
535
536 return s->parameters.decompress_threads;
537}

--- 89 unchanged lines hidden ---
539int migrate_decompress_threads(void)
540{
541 MigrationState *s;
542
543 s = migrate_get_current();
544
545 return s->parameters.decompress_threads;
546}

--- 89 unchanged lines hidden ---