Re: [Xen-devel] [PATCH v2] x86/vPMU: constrain MSR_IA32_DS_AREA loads

2015-12-19 Thread Tian, Kevin
> From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Saturday, December 19, 2015 12:52 AM > > For one, loading the MSR with a possibly non-canonical address was > possible since the verification is conditional, while the MSR load > wasn't. And then for PV guests we need to further limit the rang

Re: [Xen-devel] [PATCH v2] x86/vPMU: constrain MSR_IA32_DS_AREA loads

2015-12-18 Thread Boris Ostrovsky
On 12/18/2015 11:51 AM, Jan Beulich wrote: For one, loading the MSR with a possibly non-canonical address was possible since the verification is conditional, while the MSR load wasn't. And then for PV guests we need to further limit the range of valid addresses to exclude the hypervisor range. S

[Xen-devel] [PATCH v2] x86/vPMU: constrain MSR_IA32_DS_AREA loads

2015-12-18 Thread Jan Beulich
For one, loading the MSR with a possibly non-canonical address was possible since the verification is conditional, while the MSR load wasn't. And then for PV guests we need to further limit the range of valid addresses to exclude the hypervisor range. Signed-off-by: Jan Beulich --- v2: Also alter