mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 12:09:58 +00:00
hw/ppc/40p: use 1900 as a base year
AIX 5.1 expects the base year to be 1900. Adjust accordingly. Signed-off-by: Artyom Tarasenko <atar4qemu@gmail.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20190505152839.18650-4-philmd@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
2e8f85189d
commit
1dbe3d196d
@ -676,7 +676,9 @@ static void ibm_40p_init(MachineState *machine)
|
||||
qdev_init_nofail(dev);
|
||||
|
||||
/* RTC */
|
||||
isa_create_simple(isa_bus, TYPE_MC146818_RTC);
|
||||
dev = DEVICE(isa_create(isa_bus, TYPE_MC146818_RTC));
|
||||
qdev_prop_set_int32(dev, "base_year", 1900);
|
||||
qdev_init_nofail(dev);
|
||||
|
||||
/* initialize CMOS checksums */
|
||||
cmos_checksum = 0x6aa9;
|
||||
|
Loading…
Reference in New Issue
Block a user