commit | bc50119a01eac709b5d26d2885e8743f0d8533f4 | [log] [tgz] |
---|---|---|
author | David Brazdil <dbrazdil@google.com> | Fri Sep 27 13:20:56 2019 +0100 |
committer | David Brazdil <dbrazdil@google.com> | Fri Sep 27 13:06:50 2019 +0000 |
tree | b6b0b7a722019ceb767d5c089a5545ebb209b654 | |
parent | 0dd67ff814b1a313558e2693b802b4da5d61daf5 [diff] |
Fix panic in vm_find() for reserved IDs vm_find() is called from VM API and should return NULL if the given ID does not correspond to a valid VM. This was not the case for ID zero (reserved for the hypervisor), upon which Hafnium would fail a CHECK and panic. Fix the issue and add a test case. Test: hf_vcpu_get_count.reserved_vm_id Change-Id: I0205e64c5cb5a98cdb24ba2cd75d417845ffaddd
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: