Re: [PATCH] kvm, vmx: Fix lazy FPU on nested guest

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Il 13/11/2013 11:45, Anthoine Bourgeois ha scritto:
> 
> diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
> index 2b2fce1..e33cadf 100644
> --- a/arch/x86/kvm/vmx.c
> +++ b/arch/x86/kvm/vmx.c
> @@ -6627,6 +6627,9 @@ static bool nested_vmx_exit_handled(struct
> kvm_vcpu *vcpu)
>              return 0;
>          else if (is_page_fault(intr_info))
>              return enable_ept;
> +        else if (is_no_device(intr_info) &&
> +             !(nested_read_cr0(vmcs12) & X86_CR0_TS))
> +            return 0;
>          return vmcs12->exception_bitmap &
>                  (1u << (intr_info & INTR_INFO_VECTOR_MASK));
>      case EXIT_REASON_EXTERNAL_INTERRUPT:
> -- 

The whitespace in this patch is corrupted.  For this time I applied it;
next time however please use "git send-email".

Paolo
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux