commit | 2fc856aa67180d6f729d546d9ff636aa83b395d3 | [log] [tgz] |
---|---|---|
author | Andrew Walbran <qwandor@google.com> | Mon Nov 04 15:17:24 2019 +0000 |
committer | Andrew Walbran <qwandor@google.com> | Tue Nov 05 15:06:48 2019 +0000 |
tree | 6d27e3a420fd8d3ad757140ee9e48a2ce724bfe5 | |
parent | b2c3a24dcb2b9380afe4acdb9e0aa9200445acac [diff] |
Fix race with checking remaining time on VM timer. We were assuming that the remaining time on the timer could not be 0 if it had previously been checked not to be pending, but that could have changed due to time passing since that check was made. To fix this we get the remaining time once and treat the timer as pending if the timer is enabled and the remaining time is 0. Bug: 141469322 Change-Id: I3736a4c1a02acea46e55ce6c41f99e95e42711c0
Hafnium is a hypervisor, initially supporting aarch64 (64-bit ARMv8 CPUs).
Get in touch and keep up-to-date at hafnium-discuss@googlegroups.com.
To jump in and build Hafnium, follow the getting started instructions.
If you want to contribute to the project, see details of how we accept contributions.
More documentation is available on: