Discussion:
How to set the (virtual) BIOS time before a VM boots
Fulko Hew
2021-05-26 01:10:51 UTC
Permalink
I'm trying to do some Y2038 testing, using VMs.
So what I'd like to do is have the time pre-set to after the Y2038 time
and then boot an OS/VM (to have the 'BIOS' provide the post 2038 time).
(In this case I'm trying to test an application under Win XP.)
[Please, no emails about upgrading the OS.
Customer wants... customer gets...]

How does Fedora's Virtual Machine manager and QEMU support this?
Or can it?

TIA
Fulko
Samuel Sieb
2021-05-26 01:42:41 UTC
Permalink
Post by Fulko Hew
I'm trying to do some Y2038 testing, using VMs.
So what I'd like to do is have the time pre-set to after the Y2038 time
and then boot an OS/VM (to have the 'BIOS' provide the post 2038 time).
(In this case I'm trying to test an application under Win XP.)
[Please, no emails about upgrading the OS.
 Customer wants... customer gets...]
How does Fedora's Virtual Machine manager and QEMU support this?
Or can it?
You could try this:
https://unix.stackexchange.com/questions/345483/how-to-set-the-guest-hardware-time-for-qemu-from-libvirt
_______________________________________________
users mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to users-***@lists.fedoraproject.org
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/***@lists.fedoraproject.org
Do not reply to spam on the list, report it: https://p
Fulko Hew
2021-05-26 02:06:37 UTC
Permalink
Post by Samuel Sieb
Post by Fulko Hew
I'm trying to do some Y2038 testing, using VMs.
So what I'd like to do is have the time pre-set to after the Y2038 time
and then boot an OS/VM (to have the 'BIOS' provide the post 2038 time).
(In this case I'm trying to test an application under Win XP.)
[Please, no emails about upgrading the OS.
Customer wants... customer gets...]
How does Fedora's Virtual Machine manager and QEMU support this?
Or can it?
https://unix.stackexchange.com/questions/345483/how-to-set-the-guest-hardware-time-for-qemu-from-libvirt
During my searching, I hadn't come across that entry yet.
I'll give that a try. Thanks.

Loading...