cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabriel Beims Bräscher <gabrasc...@gmail.com>
Subject Re: jira 8535 opinion please
Date Wed, 05 Oct 2016 12:59:28 GMT
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.panic@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ć
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message