Remove cpuhp callbacks when removing driver.

This ensures that the hypervisor timer IRQ gets cleaned up properly, and
that our callbacks aren't called after the module is unloaded.

Also fix order of unloading to stop secondary vCPU threads before disabling
interrupts, to avoid being starved by run-away secondary VMs during this

Bug: 117271574
Change-Id: If1f20249d6d703f532499554a4a170571c2131d0
1 file changed
tree: 67663c7399935aac3b2cd4612e025ca308105f83
  1. .gitignore
  3. Makefile
  4. hf_call.S
  5. main.c