[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20141204135255.GA26941@potion.brq.redhat.com>
Date: Thu, 4 Dec 2014 14:52:56 +0100
From: Radim Krčmář <rkrcmar@...hat.com>
To: Paolo Bonzini <pbonzini@...hat.com>
Cc: Nadav Amit <nadav.amit@...il.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
kvm list <kvm@...r.kernel.org>,
Wanpeng Li <wanpeng.li@...ux.intel.com>,
Nadav Amit <namit@...technion.ac.il>, hpa@...ux.intel.com,
Fenghua Yu <fenghua.yu@...el.com>
Subject: Re: [CFT PATCH v2 2/2] KVM: x86: support XSAVES usage in the host
2014-12-04 14:43+0100, Paolo Bonzini:
> On 03/12/2014 19:45, Radim Krčmář wrote:
> > Btw, we don't care about crashers from userspace?
>
> We do, but they're taken care of by
>
> if (xstate_bv & ~kvm_supported_xcr0())
> return -EINVAL;
>
> in kvm_vcpu_ioctl_x86_set_xsave. kvm_supported_xcr0 is always a subset
> of host_xcr0, hence:
Ah, thanks. (If this trend continues, I won't be able to hold even
bodily fluids after few more reviews ...)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists