Wall clock time device
Hello,
At http://repo.or.cz/w/qemu/malc.git?a=shortlog;h=refs/heads/wctpci you can find implementation of a simple PCI device that provides the guest with the ability to read hosts real time clock.
There's a sample code inside the above repository to demonstrate how this can be achieved under Linux, the code just times how much real and virtualized time elapses during a call to sleep.
Feedback apprecaited.
Signature · 1 line
mailto:[email protected]