Odd question: change a running VM's clock?

Chris Adams <[email protected]> Mon, 29 Jun 2026 20:49:40 -0500
Newsgroups gmane.linux.redhat.fedora.general
Message-ID <[email protected]>
With a libvirt/qemu/kvm VM, is there any way to change the real-time
clock while the VM is running, or especially in pm suspend-to-mem mode?

I'm trying to see if I a bug with something that seems to happen across
a suspend/resume cycle where the system is asleep for a bit, and I'd
like to test it in a VM without just having to wait.  So I'd like to
suspend the VM, jump the VM's RTC ahead, and then wake it, so it thinks
it was down for longer.

-- 
Chris Adams <[email protected]>
-- 
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new