Re: [Qemu-devel] [PATCH v6 02/23] exec: add ram_debug_ops support

2018-01-30 Thread Brijesh Singh
On 1/30/18 4:37 PM, Edgar E. Iglesias wrote: > On Tue, Jan 30, 2018 at 04:34:37PM -0600, Brijesh Singh wrote: >> >> On 1/30/18 3:59 PM, Edgar E. Iglesias wrote: >>> On Mon, Jan 29, 2018 at 11:41:11AM -0600, Brijesh Singh wrote: Currently, the guest memory access for the debug purpose is perf

Re: [Qemu-devel] [PATCH v6 02/23] exec: add ram_debug_ops support

2018-01-30 Thread Edgar E. Iglesias
On Tue, Jan 30, 2018 at 04:34:37PM -0600, Brijesh Singh wrote: > > > On 1/30/18 3:59 PM, Edgar E. Iglesias wrote: > > On Mon, Jan 29, 2018 at 11:41:11AM -0600, Brijesh Singh wrote: > >> Currently, the guest memory access for the debug purpose is performed > >> using the memcpy(). Lets extend the

Re: [Qemu-devel] [PATCH v6 02/23] exec: add ram_debug_ops support

2018-01-30 Thread Brijesh Singh
On 1/30/18 3:59 PM, Edgar E. Iglesias wrote: > On Mon, Jan 29, 2018 at 11:41:11AM -0600, Brijesh Singh wrote: >> Currently, the guest memory access for the debug purpose is performed >> using the memcpy(). Lets extend the 'struct MemoryRegion' to include >> ram_debug_ops callbacks. The ram_debug_

Re: [Qemu-devel] [PATCH v6 02/23] exec: add ram_debug_ops support

2018-01-30 Thread Edgar E. Iglesias
On Mon, Jan 29, 2018 at 11:41:11AM -0600, Brijesh Singh wrote: > Currently, the guest memory access for the debug purpose is performed > using the memcpy(). Lets extend the 'struct MemoryRegion' to include > ram_debug_ops callbacks. The ram_debug_ops can be used to override > memcpy() with somethin

[Qemu-devel] [PATCH v6 02/23] exec: add ram_debug_ops support

2018-01-29 Thread Brijesh Singh
Currently, the guest memory access for the debug purpose is performed using the memcpy(). Lets extend the 'struct MemoryRegion' to include ram_debug_ops callbacks. The ram_debug_ops can be used to override memcpy() with something else. The feature can be used by encrypted guest -- which can regist