to.getCores().getCore().addAll(adaptOut(from.getCores().getCores())); if (from.isSetCpuTune()) { to.setCpuTune(adaptOut(from.getCpuTune()));
staticVm.setUseHostCpuFlags(vm.getCpu().getMode() == CpuMode.HOST_PASSTHROUGH); if (vm.getCpu().isSetCpuTune()) { staticVm.setCpuPinning(cpuTuneToString(vm.getCpu().getCpuTune()));