Hi Andrija, Seems that this issue has been forgotten for a while, thanks for bringing it back.
I did a fast review on the code (current Apache CloudStack master) and found something that might be useful. The method com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.createVMFromSpec(VirtualMachineTO) has some commented lines when adding features (lines 1947-1953), those lines were supposed to set the HyperV relaxed feature in case of Windows Server 2008. /* * if (vmTO.getOs().contains("Windows Server 2008") && hostOsVersion != null && ((hostOsVersion.first() == 6 && hostOsVersion.second() >= 5) || (hostOsVersion.first() >= 7))) { * LibvirtVMDef.HyperVEnlightenmentFeatureDef hyv = new LibvirtVMDef.HyperVEnlightenmentFeatureDef(); * hyv.setRelaxed(true); * features.addHyperVFeature(hyv); * } */ Would it be a starting point? Are you familiar with this code? Cheers, Gabriel. 2016-10-04 5:52 GMT-03:00 Andrija Panic <andrija.pa...@gmail.com>: > Hi, > > may I please get anyones opinion on this: > https://issues.apache.org/jira/browse/CLOUDSTACK-8353 > > We woul like to solve it internally and comit to comunity - just need some > opinions or advices. > > "There is a bug in KVM that causes a BSOD for Windows 2008 R2 and 7 or > earlier. fix was added in libvirt 1.1.1 The fix requires enabling the > "hv_relaxed" option for the affected VMs. > " > > thanks > > Andrija Panić >