guest_clock_start()

Start the flow of billable vCPU time

Synopsis:

#include <qvm/guest.h>
void guest_clock_start(void)

Description:

This function can be called by a vdev callback to start the flow of billable vCPU time. A vdev should consider its execution time as billable if it is performing an operation that is not emulation overhead and can be counted towards stolen time. This latter term refers to the time that the calling vCPU can't run on a physical CPU because it was preempted by another thread in the hypervisor host. Here, the calling vCPU means the vCPU that's executing guest code that prompted the guest exit that made the vdev code run. For information about stolen time, read the Time section in the QNX hypervisor User's Guide.

Page updated: