guest_terminate()

Terminate the execution of a guest

Synopsis:

#include <qvm/guest.h>
void guest_terminate(struct guest_system *gsp,
                     guest_termination_cause_t cause)

Arguments:

gsp
A pointer to the guest system to terminate.
cause
The reason the guest terminated.

Library:

Provided by qvm; no external library is required.