hpet: do not overwrite properties on post_load
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 5 Dec 2024 20:25:39 +0000 (21:25 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 25 Feb 2025 09:49:23 +0000 (10:49 +0100)
commit1433e38cc840957bafe6bc17a241c57cf93c90cd
tree6ed7dc3152dd5464ed8616f1c19197203730f464
parent36324c6774d2da16edc97cd3c9b30aa34d3f7a83
hpet: do not overwrite properties on post_load

Migration relies on having the same device configuration on the source
and destination.  Therefore, there is no need to modify flags,
timer capabilities and the fw_cfg HPET block id on migration;
it was set to exactly the same values by realize.

Reviewed-by: Zhao Liu <zhao1.liu@intel.com> (hpet_post_load only)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/timer/hpet.c