CHAPTER 4 Operations on Virtual Machines
65
RC1
VixVM_Reset
Function Signature
VixHandle
VixVM_Reset(VixHandle vmHandle,
VixPowerOpVMOptions powerOnOptions,
VixEventProc *callbackProc,
void *clientData);
Parameters
Results
VixHandle — A job handle that describes the state of this asynchronous operation.
Notes
This function resets a virtual machine, which is the equivalent of pressing the reset
button on a physical machine. The reset is an asynchronous operation, and the job
will be signalled when the operation completes. If the virtual machine is not powered
on when you call this function, then it returns an error.
vmHandle Identifies a virtual machine. Call VixVM_Open() to create a virtual
machine handle.
powerOnOptions Must be
VIX_VMPOWEROP_NORMAL.
callbackProc A callback function that will be invoked when the power operation is
complete.
clientData A parameter that will be passed to the callbackProc function.