[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 10/16] hw/i386/vmport: Add support for CMD_GETTIME
From: |
Michael S. Tsirkin |
Subject: |
Re: [PATCH v3 10/16] hw/i386/vmport: Add support for CMD_GETTIME |
Date: |
Sat, 14 Mar 2020 16:48:11 -0400 |
On Sat, Mar 14, 2020 at 09:58:23PM +0200, Nikita Leshenko wrote:
> I think that the reason that open-vm-tools doesn't move time backwards is to
> help applications that treat wallclock time as if it's monotonic time and
> break
> if the date is moved backwards (which may happen more frequently in virtual
> environment so it's handled specifically). But this doesn't change the fact
> that
> this PV interface is for reporting wall time.
> So I couldn't understand what
> source other than gettimeofday() you were suggesting for Liran to use to
> report
> wallclock time.
Some kind of offset to wallclock time I'm guessing. For example,
we could save wall clock on vm save, and if it goes
backwards on vm load, add an offset.
--
MST
- Re: [PATCH v3 10/16] hw/i386/vmport: Add support for CMD_GETTIME, (continued)
- Re: [PATCH v3 10/16] hw/i386/vmport: Add support for CMD_GETTIME, Liran Alon, 2020/03/14
- Re: [PATCH v3 10/16] hw/i386/vmport: Add support for CMD_GETTIME, Michael S. Tsirkin, 2020/03/14
- Re: [PATCH v3 10/16] hw/i386/vmport: Add support for CMD_GETTIME, Liran Alon, 2020/03/14
- Re: [PATCH v3 10/16] hw/i386/vmport: Add support for CMD_GETTIME, Michael S. Tsirkin, 2020/03/14
- Re: [PATCH v3 10/16] hw/i386/vmport: Add support for CMD_GETTIME, Nikita Leshenko, 2020/03/14
- Re: [PATCH v3 10/16] hw/i386/vmport: Add support for CMD_GETTIME, Liran Alon, 2020/03/14
- Re: [PATCH v3 10/16] hw/i386/vmport: Add support for CMD_GETTIME, Michael S. Tsirkin, 2020/03/14
- Re: [PATCH v3 10/16] hw/i386/vmport: Add support for CMD_GETTIME, Liran Alon, 2020/03/15
- Re: [PATCH v3 10/16] hw/i386/vmport: Add support for CMD_GETTIME, Liran Alon, 2020/03/22
- Re: [PATCH v3 10/16] hw/i386/vmport: Add support for CMD_GETTIME, Liran Alon, 2020/03/31
- Re: [PATCH v3 10/16] hw/i386/vmport: Add support for CMD_GETTIME,
Michael S. Tsirkin <=
- Re: [PATCH v3 10/16] hw/i386/vmport: Add support for CMD_GETTIME, Liran Alon, 2020/03/14
[PATCH v3 09/16] hw/i386/vmport: Add support for CMD_GETBIOSUUID, Liran Alon, 2020/03/12
[PATCH v3 11/16] hw/i386/vmport: Add support for CMD_GETTIMEFULL, Liran Alon, 2020/03/12
[PATCH v3 12/16] hw/i386/vmport: Add support for CMD_GET_VCPU_INFO, Liran Alon, 2020/03/12
[PATCH v3 13/16] hw/i386/vmport: Allow x2apic without IR, Liran Alon, 2020/03/12
[PATCH v3 14/16] i386/cpu: Store LAPIC bus frequency in CPU structure, Liran Alon, 2020/03/12