Re: [Xen-devel] [PATCH V4 1/3] xen/mem_access: Support for memory-content hiding

2015-07-10 Thread Razvan Cojocaru
On 07/10/2015 03:41 PM, Jan Beulich wrote: On 08.07.15 at 12:22, wrote: >> --- a/xen/arch/x86/hvm/emulate.c >> +++ b/xen/arch/x86/hvm/emulate.c >> @@ -653,6 +653,31 @@ static int hvmemul_read( >> unsigned int bytes, >> struct x86_emulate_ctxt *ctxt) >> { >> +struct hvm_emulate_

Re: [Xen-devel] [PATCH V4 1/3] xen/mem_access: Support for memory-content hiding

2015-07-10 Thread Jan Beulich
>>> On 08.07.15 at 12:22, wrote: > --- a/xen/arch/x86/hvm/emulate.c > +++ b/xen/arch/x86/hvm/emulate.c > @@ -653,6 +653,31 @@ static int hvmemul_read( > unsigned int bytes, > struct x86_emulate_ctxt *ctxt) > { > +struct hvm_emulate_ctxt *hvmemul_ctxt = > +container_of(ctxt,

Re: [Xen-devel] [PATCH V4 1/3] xen/mem_access: Support for memory-content hiding

2015-07-08 Thread Lengyel, Tamas
On Wed, Jul 8, 2015 at 6:22 AM, Razvan Cojocaru wrote: > This patch adds support for memory-content hiding, by modifying the > value returned by emulated instructions that read certain memory > addresses that contain sensitive data. The patch only applies to > cases where MEM_ACCESS_EMULATE or ME

[Xen-devel] [PATCH V4 1/3] xen/mem_access: Support for memory-content hiding

2015-07-08 Thread Razvan Cojocaru
This patch adds support for memory-content hiding, by modifying the value returned by emulated instructions that read certain memory addresses that contain sensitive data. The patch only applies to cases where MEM_ACCESS_EMULATE or MEM_ACCESS_EMULATE_NOWRITE have been set to a vm_event response. S