Handle VMs misbehaving.
If a VM accesses memory it is not allowed to or otherwise triggers and
unhandled exception it will be aborted such that none of the vCPUs can
be run again.
The VM remains unchanged from the point of view of other VMs other than
it will not make any further progress.
Change-Id: I352e1c714f1e4b1b43185269f92e7fa41e09a4db
diff --git a/inc/hf/cpu.h b/inc/hf/cpu.h
index 10bb01f..865713f 100644
--- a/inc/hf/cpu.h
+++ b/inc/hf/cpu.h
@@ -45,6 +45,9 @@
/** The vcpu is waiting for an interrupt. */
vcpu_state_blocked_interrupt,
+
+ /** The vcpu has aborted. */
+ vcpu_state_aborted,
};
struct interrupts {