options.c (2a8ec38082f8098f2693bb3632175453c0c84a51) options.c (9605c2ac282c565bb00b5f344217161bef29eff8)
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>

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

504{
505 MigrationState *s;
506
507 s = migrate_get_current();
508
509 return s->parameters.compress_wait_thread;
510}
511
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>

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

504{
505 MigrationState *s;
506
507 s = migrate_get_current();
508
509 return s->parameters.compress_wait_thread;
510}
511
512uint8_t migrate_cpu_throttle_increment(void)
513{
514 MigrationState *s;
515
516 s = migrate_get_current();
517
518 return s->parameters.cpu_throttle_increment;
519}
520
512uint8_t migrate_cpu_throttle_initial(void)
513{
514 MigrationState *s;
515
516 s = migrate_get_current();
517
518 return s->parameters.cpu_throttle_initial;
519}

--- 98 unchanged lines hidden ---
521uint8_t migrate_cpu_throttle_initial(void)
522{
523 MigrationState *s;
524
525 s = migrate_get_current();
526
527 return s->parameters.cpu_throttle_initial;
528}

--- 98 unchanged lines hidden ---