Lines Matching refs:p
487 MigrateSetParameters *p = g_new0(MigrateSetParameters, 1); in hmp_migrate_set_parameter() local
500 p->has_throttle_trigger_threshold = true; in hmp_migrate_set_parameter()
501 visit_type_uint8(v, param, &p->throttle_trigger_threshold, &err); in hmp_migrate_set_parameter()
504 p->has_cpu_throttle_initial = true; in hmp_migrate_set_parameter()
505 visit_type_uint8(v, param, &p->cpu_throttle_initial, &err); in hmp_migrate_set_parameter()
508 p->has_cpu_throttle_increment = true; in hmp_migrate_set_parameter()
509 visit_type_uint8(v, param, &p->cpu_throttle_increment, &err); in hmp_migrate_set_parameter()
512 p->has_cpu_throttle_tailslow = true; in hmp_migrate_set_parameter()
513 visit_type_bool(v, param, &p->cpu_throttle_tailslow, &err); in hmp_migrate_set_parameter()
516 p->has_max_cpu_throttle = true; in hmp_migrate_set_parameter()
517 visit_type_uint8(v, param, &p->max_cpu_throttle, &err); in hmp_migrate_set_parameter()
520 p->tls_creds = g_new0(StrOrNull, 1); in hmp_migrate_set_parameter()
521 p->tls_creds->type = QTYPE_QSTRING; in hmp_migrate_set_parameter()
522 visit_type_str(v, param, &p->tls_creds->u.s, &err); in hmp_migrate_set_parameter()
525 p->tls_hostname = g_new0(StrOrNull, 1); in hmp_migrate_set_parameter()
526 p->tls_hostname->type = QTYPE_QSTRING; in hmp_migrate_set_parameter()
527 visit_type_str(v, param, &p->tls_hostname->u.s, &err); in hmp_migrate_set_parameter()
530 p->tls_authz = g_new0(StrOrNull, 1); in hmp_migrate_set_parameter()
531 p->tls_authz->type = QTYPE_QSTRING; in hmp_migrate_set_parameter()
532 visit_type_str(v, param, &p->tls_authz->u.s, &err); in hmp_migrate_set_parameter()
535 p->has_max_bandwidth = true; in hmp_migrate_set_parameter()
546 p->max_bandwidth = valuebw; in hmp_migrate_set_parameter()
549 p->has_avail_switchover_bandwidth = true; in hmp_migrate_set_parameter()
556 p->avail_switchover_bandwidth = valuebw; in hmp_migrate_set_parameter()
559 p->has_downtime_limit = true; in hmp_migrate_set_parameter()
560 visit_type_size(v, param, &p->downtime_limit, &err); in hmp_migrate_set_parameter()
563 p->has_x_checkpoint_delay = true; in hmp_migrate_set_parameter()
564 visit_type_uint32(v, param, &p->x_checkpoint_delay, &err); in hmp_migrate_set_parameter()
567 p->has_multifd_channels = true; in hmp_migrate_set_parameter()
568 visit_type_uint8(v, param, &p->multifd_channels, &err); in hmp_migrate_set_parameter()
571 p->has_multifd_compression = true; in hmp_migrate_set_parameter()
572 visit_type_MultiFDCompression(v, param, &p->multifd_compression, in hmp_migrate_set_parameter()
576 p->has_multifd_zlib_level = true; in hmp_migrate_set_parameter()
577 visit_type_uint8(v, param, &p->multifd_zlib_level, &err); in hmp_migrate_set_parameter()
580 p->has_multifd_zstd_level = true; in hmp_migrate_set_parameter()
581 visit_type_uint8(v, param, &p->multifd_zstd_level, &err); in hmp_migrate_set_parameter()
584 p->has_zero_page_detection = true; in hmp_migrate_set_parameter()
585 visit_type_ZeroPageDetection(v, param, &p->zero_page_detection, &err); in hmp_migrate_set_parameter()
588 p->has_xbzrle_cache_size = true; in hmp_migrate_set_parameter()
596 p->xbzrle_cache_size = cache_size; in hmp_migrate_set_parameter()
599 p->has_max_postcopy_bandwidth = true; in hmp_migrate_set_parameter()
600 visit_type_size(v, param, &p->max_postcopy_bandwidth, &err); in hmp_migrate_set_parameter()
603 p->has_announce_initial = true; in hmp_migrate_set_parameter()
604 visit_type_size(v, param, &p->announce_initial, &err); in hmp_migrate_set_parameter()
607 p->has_announce_max = true; in hmp_migrate_set_parameter()
608 visit_type_size(v, param, &p->announce_max, &err); in hmp_migrate_set_parameter()
611 p->has_announce_rounds = true; in hmp_migrate_set_parameter()
612 visit_type_size(v, param, &p->announce_rounds, &err); in hmp_migrate_set_parameter()
615 p->has_announce_step = true; in hmp_migrate_set_parameter()
616 visit_type_size(v, param, &p->announce_step, &err); in hmp_migrate_set_parameter()
623 p->has_x_vcpu_dirty_limit_period = true; in hmp_migrate_set_parameter()
624 visit_type_size(v, param, &p->x_vcpu_dirty_limit_period, &err); in hmp_migrate_set_parameter()
627 p->has_vcpu_dirty_limit = true; in hmp_migrate_set_parameter()
628 visit_type_size(v, param, &p->vcpu_dirty_limit, &err); in hmp_migrate_set_parameter()
631 p->has_mode = true; in hmp_migrate_set_parameter()
632 visit_type_MigMode(v, param, &p->mode, &err); in hmp_migrate_set_parameter()
635 p->has_direct_io = true; in hmp_migrate_set_parameter()
636 visit_type_bool(v, param, &p->direct_io, &err); in hmp_migrate_set_parameter()
646 qmp_migrate_set_parameters(p, &err); in hmp_migrate_set_parameter()
649 qapi_free_MigrateSetParameters(p); in hmp_migrate_set_parameter()