Re: set fixed time at vm guest startup?

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


On Fri, Apr 22, 2022 at 12:54:35 -0600, Fred Clift wrote:
> I'm looking at the <clock> libvirt parameters.
> Is there a way to set the guests clock to a specific time/date at  virt
> startup?  I'm trying to virtualize a system with pci passthrough for a
> hardware device that wants to always live in pre-2011.  The license manager
> for the software/hardware has 31-bit overflow of time calculations.

Hi, currently there is no such thing, only stuff that would allow you to
set an arbitrary offset to the current time, which would not be zero

However it's very simple to implement

That patchset introduces an 'absolute' mode for clock with an element
'start' where you can put an arbitrary unix epoch timestamp which is set
always on boot of the VM.

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux