Re: [PATCH] Fix wrong behavior of cpu_memory_rw_debug() function in SMM

2019-09-27 Thread Paolo Bonzini
On 18/09/19 12:07, Dmitry Poletaev wrote: > There is a problem, that you don't have access to the data using > cpu_memory_rw_debug() function when in SMM. You can't remotely debug SMM mode > program because of that for example. > Likely attrs version of get_phys_page_debug should be used to get c

[Qemu-devel] [PATCH] Fix wrong behavior of cpu_memory_rw_debug() function in SMM

2019-09-18 Thread Dmitry Poletaev
There is a problem, that you don't have access to the data using cpu_memory_rw_debug() function when in SMM. You can't remotely debug SMM mode program because of that for example. Likely attrs version of get_phys_page_debug should be used to get correct asidx at the end to handle access properly