/openbmc/qemu/rust/qemu-api/src/ |
H A D | vmstate.rs | 16 ($field_exists_fn:expr, $version_id:expr, $size:expr) => {{ 29 version_id: $version_id, 39 ($version_id:expr, $size:expr) => {{ 40 $crate::vmstate_unused_buffer!(None, $version_id, $size) 55 …($field_name:ident, $struct_name:ty, $field_exists_fn:expr, $version_id:expr, $info:expr, $size:ex… 70 version_id: $version_id, 80 ($field_name:ident, $struct_name:ty, $version_id:expr, $info:expr, $size:expr) => {{ 81 $crate::vmstate_single_test!($field_name, $struct_name, None, $version_id, $info, $size) 88 ($field_name:ident, $struct_name:ty, $version_id:expr) => {{ 92 $version_id, [all …]
|
/openbmc/qemu/target/i386/ |
H A D | machine.c | 19 .version_id = 1, 44 .version_id = 1, 60 .version_id = 1, 75 .version_id = 1, 93 .version_id = 1, 115 .version_id = 1, 129 .version_id = 1, 143 .version_id = 1, 313 static int cpu_post_load(void *opaque, int version_id) in cpu_post_load() argument 453 .version_id = 1, [all …]
|
/openbmc/qemu/migration/ |
H A D | vmstate.c | 33 void *opaque, int version_id) in vmstate_field_exists() argument 39 result = field->field_exists(opaque, version_id); in vmstate_field_exists() 40 trace_vmstate_field_exists(vmsd->name, field->name, field->version_id, in vmstate_field_exists() 41 version_id, result); in vmstate_field_exists() 48 result = field->version_id <= version_id; in vmstate_field_exists() 105 void *opaque, int version_id) in vmstate_load_state() argument 110 trace_vmstate_load_state(vmsd->name, version_id); in vmstate_load_state() 111 if (version_id > vmsd->version_id) { in vmstate_load_state() 114 vmsd->name, version_id, vmsd->version_id); in vmstate_load_state() 118 if (version_id < vmsd->minimum_version_id) { in vmstate_load_state() [all …]
|
H A D | vmstate-types.c | 523 int version_id = field->version_id; in get_tmp() local 528 ret = vmstate_load_state(f, vmsd, tmp, version_id); in get_tmp() 610 int version_id = field->version_id; in get_qtailq() local 613 trace_get_qtailq(vmsd->name, version_id); in get_qtailq() 614 if (version_id > vmsd->version_id) { in get_qtailq() 620 if (version_id < vmsd->minimum_version_id) { in get_qtailq() 628 ret = vmstate_load_state(f, vmsd, elm, version_id); in get_qtailq() 649 trace_put_qtailq(vmsd->name, vmsd->version_id); in put_qtailq() 743 int version_id = field->version_id; in get_gtree() local 753 if (!direct_key && version_id > key_vmsd->version_id) { in get_gtree() [all …]
|
/openbmc/qemu/target/riscv/ |
H A D | machine.c | 34 static int pmp_post_load(void *opaque, int version_id) in pmp_post_load() argument 50 .version_id = 1, 61 .version_id = 1, 82 .version_id = 4, 138 .version_id = 2, 163 .version_id = 1, 188 .version_id = 1, 205 static int cpu_kvmtimer_post_load(void *opaque, int version_id) in cpu_kvmtimer_post_load() argument 216 .version_id = 1, 236 static int debug_post_load(void *opaque, int version_id) in debug_post_load() argument [all …]
|
/openbmc/qemu/target/arm/ |
H A D | machine.c | 137 .version_id = 1, 143 .version_id = 0, 151 .version_id = 0, 163 .version_id = 3, 209 .version_id = 0, 233 .version_id = 1, 259 .version_id = 1, 269 .version_id = 1, 279 .version_id = 1, 293 .version_id = 1, [all …]
|
/openbmc/qemu/include/migration/ |
H A D | vmstate.h | 179 int version_id; member 181 bool (*field_exists)(void *opaque, int version_id); 201 int version_id; member 205 int (*post_load)(void *opaque, int version_id); 315 .version_id = (_version), \ 327 .version_id = (_version), \ 345 .version_id = (_version), \ 363 .version_id = (_version), \ 373 .version_id = (_version), \ 393 .version_id = (_version), \ [all …]
|
/openbmc/openbmc/meta-yadro/recipes-core/os-release/ |
H A D | os-release.bbappend | 18 version_id = d.getVar('VERSION_ID') 20 print ('Original VERSION_ID = %s' % version_id) 22 versionList = version_id.split('-') 93 version_id = version 94 version_id += 'r' + git_hash[1:7] 95 version_id += ('p' + patch_level) if int(patch_level) else '' 96 version_id += flag 97 version_id += '-dirty' if dirty else '' 100 version_id += ("-" + branch_name) if (branch_name) else '' 101 release = version_id [all …]
|
/openbmc/qemu/target/ppc/ |
H A D | machine.c | 183 static int cpu_post_load(void *opaque, int version_id) in cpu_post_load() argument 290 .version_id = 1, 331 .version_id = 1, 345 .version_id = 0, 364 .version_id = 1, 384 .version_id = 1, 418 .version_id = 1, 469 static int slb_post_load(void *opaque, int version_id) in slb_post_load() argument 491 .version_id = 2, 504 .version_id = 1, [all …]
|
/openbmc/qemu/target/openrisc/ |
H A D | machine.c | 26 .version_id = 1, 37 .version_id = 2, 72 .version_id = 6, 92 .version_id = 0, 123 static int cpu_post_load(void *opaque, int version_id) in cpu_post_load() argument 135 .version_id = 1,
|
/openbmc/qemu/target/loongarch/ |
H A D | machine.c | 16 .version_id = 1, 37 .version_id = 1, 50 .version_id = 1, 71 .version_id = 1, 82 .version_id = 1, 104 .version_id = 1, 122 .version_id = 0, 145 .version_id = 0, 157 .version_id = 0, 171 .version_id = 3,
|
/openbmc/qemu/target/s390x/ |
H A D | machine.c | 26 static int cpu_post_load(void *opaque, int version_id) in cpu_post_load() argument 66 .version_id = 1, 98 .version_id = 1, 162 .version_id = 1, 179 .version_id = 1, 195 .version_id = 1, 211 .version_id = 1, 227 .version_id = 1, 244 .version_id = 1, 257 .version_id = 4,
|
/openbmc/openbmc/meta-ampere/meta-common/recipes-core/os-release/ |
H A D | os-release.bbappend | 10 version_id = run_git(d, 'describe --dirty --long --tags') 11 if version_id: 12 versionList = version_id.split('-') 15 if 'dirty' not in version_id and versionList[1] == 'ampere':
|
/openbmc/libpldm/src/oem/ibm/ |
H A D | host.c | 10 int encode_get_alert_status_req(uint8_t instance_id, uint8_t version_id, in encode_get_alert_status_req() argument 31 msg->payload[0] = version_id; in encode_get_alert_status_req() 67 size_t payload_length, uint8_t *version_id) in decode_get_alert_status_req() argument 69 if (msg == NULL || version_id == NULL) { in decode_get_alert_status_req() 77 *version_id = msg->payload[0]; in decode_get_alert_status_req()
|
/openbmc/qemu/target/sparc/ |
H A D | machine.c | 11 .version_id = 1, 30 .version_id = 1, 43 .version_id = 1, 155 .version_id = 1, 191 .version_id = SPARC_VMSTATE_VER, 205 .version_id = 0, 213 .version_id = 0, 246 .version_id = 0,
|
/openbmc/qemu/system/ |
H A D | cpu-timers.c | 164 .version_id = 1, 176 .version_id = 1, 188 .version_id = 2, 203 .version_id = 1, 221 .version_id = 2,
|
/openbmc/qemu/hw/scsi/ |
H A D | esp.c | 1299 static bool esp_is_before_version_5(void *opaque, int version_id) in esp_is_before_version_5() argument 1303 version_id = MIN(version_id, s->mig_version_id); in esp_is_before_version_5() 1304 return version_id < 5; in esp_is_before_version_5() 1307 static bool esp_is_version_5(void *opaque, int version_id) in esp_is_version_5() argument 1311 version_id = MIN(version_id, s->mig_version_id); in esp_is_version_5() 1312 return version_id >= 5; in esp_is_version_5() 1315 static bool esp_is_version_6(void *opaque, int version_id) in esp_is_version_6() argument 1319 version_id = MIN(version_id, s->mig_version_id); in esp_is_version_6() 1320 return version_id >= 6; in esp_is_version_6() 1323 static bool esp_is_between_version_5_and_6(void *opaque, int version_id) in esp_is_between_version_5_and_6() argument [all …]
|
/openbmc/qemu/scripts/ |
H A D | analyze-migration.py | 117 def __init__(self, file, version_id, ramargs, section_key): argument 118 if version_id != 4: 119 raise Exception("Unknown RAM version %d" % version_id) 227 def __init__(self, file, version_id, device, section_key): argument 228 if version_id != 1: 229 raise Exception("Unknown HTAB version %d" % version_id) 267 def __init__(self, file, version_id, device, section_key): argument 268 if version_id != 0: 269 raise Exception("Unknown storage_attributes version %d" % version_id) 314 version_id = self.desc['version'] [all …]
|
/openbmc/qemu/rust/hw/char/pl011/src/ |
H A D | device_class.rs | 26 version_id: 1, 35 extern "C" fn pl011_post_load(opaque: *mut c_void, version_id: c_int) -> c_int { in pl011_post_load() 39 let result = state.as_mut().post_load(version_id as u32); in pl011_post_load() 50 version_id: 2,
|
/openbmc/qemu/target/hppa/ |
H A D | machine.c | 123 static int tlb_post_load(void *opaque, int version_id) in tlb_post_load() argument 165 .version_id = 1, 188 .version_id = 0, 211 .version_id = 3, 225 .version_id = 1,
|
/openbmc/qemu/target/mips/sysemu/ |
H A D | machine.c | 7 static int cpu_post_load(void *opaque, int version_id) in cpu_post_load() argument 68 .version_id = 1, 75 .version_id = 1, 108 .version_id = 2, 115 .version_id = 2, 124 .version_id = 1, 210 .version_id = 3, 224 .version_id = 21,
|
/openbmc/qemu/target/alpha/ |
H A D | machine.c | 38 .version_id = 0, 71 .version_id = 3, 84 .version_id = 1,
|
/openbmc/openbmc-test-automation/tools/ct_metrics/ |
H A D | gen_csv_results.py | 172 version_id, argument 277 if version_id and platform: 278 l_driver = version_id 280 print("BMC Version_id:%s" % version_id) 446 source, dest, version_id, platform, level, test_phase, processor
|
/openbmc/openpower-pnor-code-mgmt/ |
H A D | generate-ubi | 140 version_id=$(sed -ne '/version=/ {s/version=//;p}' "${manifest_file}" | head -n1 | \ 143 add_volume "$config_file" 0 static pnor-ro-"${version_id}" "${squashfs_file}" 145 add_volume "$config_file" 2 dynamic pnor-rw-"${version_id}" "" 16MiB
|
/openbmc/qemu/target/microblaze/ |
H A D | machine.c | 34 .version_id = 0, 90 .version_id = 0, 103 .version_id = 0,
|