mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
lasi: fix RTC migration
Migrate rtc_ref (which only needs to be 32-bit because it is summed to a 32-bit register), which requires bumping the migration version. The HPPA machine does not have versioned machine types so it is okay to block migration to old versions of QEMU. While at it, drop the write-only field rtc from LasiState. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
987b63f24a
commit
a64508304e
2 changed files with 3 additions and 4 deletions
|
@ -69,8 +69,7 @@ struct LasiState {
|
|||
|
||||
uint32_t errlog;
|
||||
uint32_t amr;
|
||||
uint32_t rtc;
|
||||
time_t rtc_ref;
|
||||
uint32_t rtc_ref;
|
||||
|
||||
MemoryRegion this_mem;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue