Re: [PATCH] qmp: Add 'memtranslate' QMP command

2024-07-30 Thread Markus Armbruster
ju...@oro.sh writes: > 31 July 2024 at 02:12, "Dr. David Alan Gilbert" wrote: > > Hello Dr. Gilbert, > >> >> * Josh Junon (ju...@oro.sh) wrote: >> >> Hi Josh, >> >> > >> > This commit adds a new QMP/HMP command `memtranslate`, >> > which translates a virtual address to a physical address >> >

Re: [PATCH] qmp: Add 'memtranslate' QMP command

2024-07-30 Thread junon
31 July 2024 at 02:12, "Dr. David Alan Gilbert" wrote: Hello Dr. Gilbert, > > * Josh Junon (ju...@oro.sh) wrote: > > Hi Josh, > > > > > This commit adds a new QMP/HMP command `memtranslate`, > > > > which translates a virtual address to a physical address > > > > using the guest's MMU. >

Re: [PATCH] qmp: Add 'memtranslate' QMP command

2024-07-30 Thread Dr. David Alan Gilbert
* Josh Junon (ju...@oro.sh) wrote: Hi Josh, > This commit adds a new QMP/HMP command `memtranslate`, > which translates a virtual address to a physical address > using the guest's MMU. > > This uses the same mechanism that `[p]memsave` does to > perform the translation. > > This commit also fix

[PATCH] qmp: Add 'memtranslate' QMP command

2024-07-30 Thread Josh Junon
This commit adds a new QMP/HMP command `memtranslate`, which translates a virtual address to a physical address using the guest's MMU. This uses the same mechanism that `[p]memsave` does to perform the translation. This commit also fixes a long standing issue of `[p]memsave` not properly handling