Re: [Xen-devel] [PATCH v6 18/29] xen/x86: allow disabling the emulated pmu

2015-09-25 Thread Boris Ostrovsky
On 09/25/2015 11:22 AM, Roger Pau Monné wrote: El 25/09/15 a les 17.13, Jan Beulich ha escrit: On 25.09.15 at 17:07, wrote: El 21/09/15 a les 16.48, Boris Ostrovsky ha escrit: On 09/21/2015 10:36 AM, Jan Beulich wrote: On 04.09.15 at 14:08, wrote: Hmm - this seems questionable to me: Isn't

Re: [Xen-devel] [PATCH v6 18/29] xen/x86: allow disabling the emulated pmu

2015-09-25 Thread Roger Pau Monné
El 25/09/15 a les 17.13, Jan Beulich ha escrit: On 25.09.15 at 17:07, wrote: >> El 21/09/15 a les 16.48, Boris Ostrovsky ha escrit: >>> On 09/21/2015 10:36 AM, Jan Beulich wrote: >>> On 04.09.15 at 14:08, wrote: Hmm - this seems questionable to me: Isn't the vPMU an optional fe

Re: [Xen-devel] [PATCH v6 18/29] xen/x86: allow disabling the emulated pmu

2015-09-25 Thread Jan Beulich
>>> On 25.09.15 at 17:07, wrote: > El 21/09/15 a les 16.48, Boris Ostrovsky ha escrit: >> On 09/21/2015 10:36 AM, Jan Beulich wrote: >> On 04.09.15 at 14:08, wrote: >>> Hmm - this seems questionable to me: Isn't the vPMU an optional >>> feature anyway? I.e. doesn't need separate handling here

Re: [Xen-devel] [PATCH v6 18/29] xen/x86: allow disabling the emulated pmu

2015-09-25 Thread Roger Pau Monné
El 21/09/15 a les 16.48, Boris Ostrovsky ha escrit: > On 09/21/2015 10:36 AM, Jan Beulich wrote: > On 04.09.15 at 14:08, wrote: >> Hmm - this seems questionable to me: Isn't the vPMU an optional >> feature anyway? I.e. doesn't need separate handling here? Boris? > > It is optional system-wise

Re: [Xen-devel] [PATCH v6 18/29] xen/x86: allow disabling the emulated pmu

2015-09-21 Thread Boris Ostrovsky
On 09/21/2015 10:36 AM, Jan Beulich wrote: On 04.09.15 at 14:08, wrote: Hmm - this seems questionable to me: Isn't the vPMU an optional feature anyway? I.e. doesn't need separate handling here? Boris? It is optional system-wise, not per-guest, which is what I think Roger is trying to do. I i

Re: [Xen-devel] [PATCH v6 18/29] xen/x86: allow disabling the emulated pmu

2015-09-21 Thread Jan Beulich
>>> On 04.09.15 at 14:08, wrote: Hmm - this seems questionable to me: Isn't the vPMU an optional feature anyway? I.e. doesn't need separate handling here? Boris? Jan > Signed-off-by: Roger Pau Monné > Acked-by: Andrew Cooper > Cc: Jan Beulich > Cc: Andrew Cooper > --- > Changes since v4: >

[Xen-devel] [PATCH v6 18/29] xen/x86: allow disabling the emulated pmu

2015-09-04 Thread Roger Pau Monne
Signed-off-by: Roger Pau Monné Acked-by: Andrew Cooper Cc: Jan Beulich Cc: Andrew Cooper --- Changes since v4: - Add Andrew Cooper Acked-by. --- xen/arch/x86/cpu/vpmu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xen/arch/x86/cpu/vpmu.c b/xen/arch/x86/cpu/vpmu.c index 8af3df1..d5bb