[PATCH] Fix negative lost clock causing VM crash

2024-10-14 Thread shenjiatong
time moves faster than NTP server and after synchronization, system time flows backwards. Signed-off-by: shenjiatong --- hw/rtc/mc146818rtc.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/hw/rtc/mc146818rtc.c b/hw/rtc/mc146818rtc.c index 8ccee9a385..fa5d7915b1

[PATCH] hw/acpi: increase default size for rsdp file

2024-06-13 Thread shenjiatong
From: shenjiatong Size of RSDP file will be different on an OS configured with PAGE_SIZE of 64 KiB. This will eventually blocks live migration from a different hosts which has the same haredware spec. So increase this default max size to 0x1 (64 KiB). Signed-off-by: shenjiatong --- hw