diff options
| author | Peter Xu | 2019-10-16 04:29:31 +0200 |
|---|---|---|
| committer | Juan Quintela | 2020-01-20 09:10:23 +0100 |
| commit | 93062e23619e057743757ee53bf7f8e07f7a3710 (patch) | |
| tree | 2752391fd9ee253d28a9c5f921a50b94ada4aee6 /scripts/switch-timer-api | |
| parent | migration: Define VMSTATE_INSTANCE_ID_ANY (diff) | |
| download | qemu-93062e23619e057743757ee53bf7f8e07f7a3710.tar.gz qemu-93062e23619e057743757ee53bf7f8e07f7a3710.tar.xz qemu-93062e23619e057743757ee53bf7f8e07f7a3710.zip | |
migration: Change SaveStateEntry.instance_id into uint32_t
It was always used as 32bit, so define it as used to be clear.
Instead of using -1 as the auto-gen magic value, we switch to
UINT32_MAX. We also make sure that we don't auto-gen this value to
avoid overflowed instance IDs without being noticed.
Suggested-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
