CLOUDSTACK-4649:

vm sync tracks the pv driver version for xenserver

 Anthony
This commit is contained in:
Anthony Xu 2013-10-22 11:20:27 -07:00
parent e33ae74067
commit 6640f4d928
1 changed files with 8 additions and 0 deletions

View File

@ -2294,6 +2294,14 @@ public class VirtualMachineManagerImpl extends ManagerBase implements VirtualMac
hostDesc + " due to storage failure",
"Virtual Machine " + vm.getInstanceName() + " (id: " + vm.getId() + ") running on host [" + vm.getHostId() + "] stopped due to storage failure.");
}
// track hypervsion tools version
if( info.hvtoolsversion != null && !info.hvtoolsversion.isEmpty() ) {
UserVmVO userVm = _userVmDao.findById(vm.getId());
_userVmDao.loadDetails(userVm);
userVm.setDetail("hypervisortoolsversion", info.hvtoolsversion);
_userVmDao.saveDetails(userVm);
}
if (trackExternalChange) {
if (serverState == State.Starting) {