// copy vhm related extra configures
logger.info("copy vhm related extra configs from parent vm "
+ newName);
OptionValue[] optionValues = getVhmExtraConfigs(oldVm);
if (optionValues.length != 0) {
ConfigSpec spec = new ConfigSpecImpl();
spec.setExtraConfig(optionValues);
vm.reconfigure(spec);
}
// copy the io share level from the original vm
logger.info("set io share level same with parent vm " + newName);