qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: different time in host/quest


From: Jakob Bohm
Subject: Re: different time in host/quest
Date: Tue, 18 Aug 2020 05:05:46 +0200
User-agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 16/08/2020 11:35, Valery Reznic wrote:
Hello. My host is Fedora 32 x86_64. qemu is 4.2.0 When I run Fedora Core 3 i386 or x86_64 on under qemu time in the VM is 3 hours behind time on the host. When I running Fedora 12 of Fedora 29 under same qemu time in the VM is OK.

It's not a problem with timezones:
1. Time zones on all VMs and host are same.
2. I also checked UTC time

I wonder what may be a reason for such behaviour.
By the way, when I add '-rtc base=<current_host_time>' to the qemu invocation for FC3 it fixed problem with the difference in the host/guest times.

Valery

Maybe qemu sets the emulated (guest) battery RTC to local time (as required by Microsoft operating systems), while your Fedora guest assumes it is set to UTC, as is common for Linux systems.

Perhaps there is a qemu option to choose between local and UTC guest RTC emulation.

Enjoy

Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S.  http://www.wisemo.com
Transformervej 29, 2860 Soborg, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded




reply via email to

[Prev in Thread] Current Thread [Next in Thread]