public function restartVm($vmName)
{
// what are we doing?
$log = usingLog()->startAction("restart VM '{$vmName}'");
// get the VM details
$vmDetails = fromHost($vmName)->getDetails();
// create our host adapter
$host = HostLib::getHostAdapter($this->st, $vmDetails->type);
// restart our virtual machine
$host->restartHost($vmDetails);
// all done
$log->endAction();
}