Re: [PATCH] plugins: Fix physical address calculation for IO regions

2021-07-20 Thread Alex Bennée
Aaron Lindsay writes: > The address calculation for IO regions introduced by > > commit 787148bf928a54b5cc86f5b434f9399e9737679c > Author: Aaron Lindsay > plugins: Expose physical addresses instead of device offsets Queued to for-6.1/fixes-for-rc1, thanks. > > is not always accurate. Use

Re: [PATCH] plugins: Fix physical address calculation for IO regions

2021-07-20 Thread Aaron Lindsay
For reference, this patch is intended to address this conversation: https://lists.nongnu.org/archive/html/qemu-devel/2021-07/msg01293.html This appears to be better than the previous version in my testing, but I absolutely welcome being told there is a better way to solve this! Thanks! -Aaron O

[PATCH] plugins: Fix physical address calculation for IO regions

2021-07-20 Thread Aaron Lindsay
The address calculation for IO regions introduced by commit 787148bf928a54b5cc86f5b434f9399e9737679c Author: Aaron Lindsay plugins: Expose physical addresses instead of device offsets is not always accurate. Use the more correct MemoryRegionSection.offset_within_address_space. --- plugins/a