Re: [Xen-devel] [PATCH v2 3/3] xen: prevent access to HPET from Dom0

2015-01-21 Thread Jan Beulich
>>> On 20.01.15 at 18:05, wrote: > Prevent Dom0 from accessing HPET MMIO region by adding the HPET mfn to the > list of read-only memory regions. > > Signed-off-by: Roger Pau Monné > Cc: Jan Beulich > Cc: Andrew Cooper > --- > Changes since v1: > - Instead of completely blocking access to the

Re: [Xen-devel] [PATCH v2 3/3] xen: prevent access to HPET from Dom0

2015-01-21 Thread Jan Beulich
>>> On 20.01.15 at 19:35, wrote: > On 20/01/15 17:05, Roger Pau Monne wrote: >> Prevent Dom0 from accessing HPET MMIO region by adding the HPET mfn to the >> list of read-only memory regions. >> >> Signed-off-by: Roger Pau Monné >> Cc: Jan Beulich >> Cc: Andrew Cooper > > Please introduce a co

Re: [Xen-devel] [PATCH v2 3/3] xen: prevent access to HPET from Dom0

2015-01-21 Thread Roger Pau Monné
El 20/01/15 a les 19.35, Andrew Cooper ha escrit: > On 20/01/15 17:05, Roger Pau Monne wrote: >> Prevent Dom0 from accessing HPET MMIO region by adding the HPET mfn to the >> list of read-only memory regions. >> >> Signed-off-by: Roger Pau Monné >> Cc: Jan Beulich >> Cc: Andrew Cooper > > Pleas

Re: [Xen-devel] [PATCH v2 3/3] xen: prevent access to HPET from Dom0

2015-01-20 Thread Andrew Cooper
On 20/01/15 17:05, Roger Pau Monne wrote: > Prevent Dom0 from accessing HPET MMIO region by adding the HPET mfn to the > list of read-only memory regions. > > Signed-off-by: Roger Pau Monné > Cc: Jan Beulich > Cc: Andrew Cooper Please introduce a command line parameter to control this, but defa

[Xen-devel] [PATCH v2 3/3] xen: prevent access to HPET from Dom0

2015-01-20 Thread Roger Pau Monne
Prevent Dom0 from accessing HPET MMIO region by adding the HPET mfn to the list of read-only memory regions. Signed-off-by: Roger Pau Monné Cc: Jan Beulich Cc: Andrew Cooper --- Changes since v1: - Instead of completely blocking access to the HPET mfn, set it as read-only. --- xen/arch/x86