Memory API conversions, batch 5
Please pull from
git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git memory/batch
to receive the fifth memory API conversions batch. There is really nothing notable, except perhaps the first use of the transaction API.
While the patches have been on the list for just a short time, they have received quite extensive review, for which I am thankful.
Avi Kivity (22):
stellaris_enet: convert to memory API
sysbus: add helpers to add and delete memory regions to the
system bus
pci_host: convert conf index and data ports to memory API
ReadWriteHandler: remove
an5206: convert to memory API
armv7m: convert to memory API
axis_dev88: convert to memory API (RAM only)
sysbus: add sysbus_add_memory_overlap()
integratorcp: convert to memory API (RAM/flash only)
leon3: convert to memory API
cirrus: wrap memory update in a transaction
piix_pci: wrap memory update in a transaction Makefile.hw: allow hw/ files to include glib headers pflash_cfi01/pflash_cfi02: convert to memory API
dummy_m68k: convert to memory API
g364fb: convert to memory API
lm32_boards: convert to memory API
mainstone: convert to memory API
mcf5208: convert to memory API
milkymist-minimac2: convert to memory API
milkymist-softusb: convert to memory API
milkymist: convert to memory API
Makefile.hw | 1 + Makefile.target | 1 - hw/an5206.c | 12 ++++-- hw/arm-misc.h | 5 ++- hw/armv7m.c | 22 +++++---- hw/axis_dev88.c | 16 ++++---- hw/cirrus_vga.c | 2 + hw/collie.c | 16 ++++--- hw/dec_pci.c | 13 +++--- hw/dummy_m68k.c | 7 ++- hw/flash.h | 16 +++++-- hw/g364fb.c | 60 ++++++++++++++------------ hw/grackle_pci.c | 13 +++--- hw/gumstix.c | 28 +++++++----- hw/integratorcp.c | 28 +++++++++---- hw/leon3.c | 15 ++++--- hw/lm32_boards.c | 29 +++++++----- hw/mainstone.c | 33 ++++++++------ hw/mcf5208.c | 72 ++++++++++++++----------------- hw/milkymist-minimac2.c | 43 +++++++++---------- hw/milkymist-softusb.c | 48 +++++++++++----------- hw/milkymist.c | 16 ++++--- hw/mips.h | 4 +- hw/mips_jazz.c | 3 +- hw/mips_malta.c | 45 +++++++++++--------- hw/mips_r4k.c | 20 +++++---- hw/musicpal.c | 15 ++++--- hw/omap_sx1.c | 21 +++++---- hw/pci_host.c | 86 +++++++++++++++++--------------------- hw/pci_host.h | 16 +++---- hw/petalogix_ml605_mmu.c | 7 ++- hw/petalogix_s3adsp1800_mmu.c | 8 ++- hw/pflash_cfi01.c | 67 ++++++++++------------------- hw/pflash_cfi02.c | 93 ++++++++++++++++++++--------------------- hw/piix_pci.c | 13 +++++- hw/ppc405_boards.c | 63 +++++++++++++++------------ hw/ppc4xx_pci.c | 10 +++-- hw/ppce500_pci.c | 21 ++++----- hw/prep_pci.c | 12 ++++- hw/r2d.c | 7 ++- hw/stellaris.c | 5 ++- hw/stellaris_enet.c | 29 +++++------- hw/sysbus.c | 29 +++++++++++++ hw/sysbus.h | 8 ++++ hw/unin_pci.c | 82 ++++++++++++++++++------------------ hw/virtex_ml507.c | 7 ++- hw/z2.c | 15 ++++--- rwhandler.c | 87 -------------------------------------- rwhandler.h | 27 ------------ 49 files changed, 638 insertions(+), 658 deletions(-) delete mode 100644 rwhandler.c delete mode 100644 rwhandler.h
Signature · 2 lines
I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.
Quoted 9 lines · Avi Kivity
Please pull from
git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.gitmemory/batchto receive the fifth memory API conversions batch. There is really nothing notable, except perhaps the first use of the transaction API.
While the patches have been on the list for just a short time, they have received quite extensive review, for which I am thankful.
Pulled. Thanks.
Regards,
Anthony Liguori
Quoted 78 lines
Avi Kivity (22):
stellaris_enet: convert to memory API
sysbus: add helpers to add and delete memory regions to the system buspci_host: convert conf index and data ports to memory API
ReadWriteHandler: remove
an5206: convert to memory API
armv7m: convert to memory APIaxis_dev88: convert to memory API (RAM only)
sysbus: addsysbus_add_memory_overlap()
integratorcp: convert to memory API (RAM/flash only)
leon3: convert to memory API
cirrus: wrap memory update in a transactionpiix_pci: wrap memory update in a transaction
Makefile.hw: allow hw/ files to include glib headers pflash_cfi01/pflash_cfi02: convert to memory APIdummy_m68k: convert to memory API
g364fb: convert to memory APIlm32_boards: convert to memory API
mainstone: convert to memory API
mcf5208: convert to memory API
milkymist-minimac2: convert to memory API
milkymist-softusb: convert to memory API
milkymist: convert to memory APIMakefile.hw | 1 +
Makefile.target | 1 -hw/an5206.c| 12 ++++--hw/arm-misc.h| 5 ++-hw/armv7m.c| 22 +++++----hw/axis_dev88.c| 16 ++++----hw/cirrus_vga.c| 2 +hw/collie.c| 16 ++++---hw/dec_pci.c| 13 +++---hw/dummy_m68k.c| 7 ++-hw/flash.h| 16 +++++--hw/g364fb.c| 60 ++++++++++++++------------hw/grackle_pci.c| 13 +++---hw/gumstix.c| 28 +++++++-----hw/integratorcp.c| 28 +++++++++----hw/leon3.c| 15 ++++---hw/lm32_boards.c| 29 +++++++-----hw/mainstone.c| 33 ++++++++------hw/mcf5208.c| 72 ++++++++++++++-----------------hw/milkymist-minimac2.c| 43 +++++++++----------hw/milkymist-softusb.c| 48 +++++++++++-----------hw/milkymist.c| 16 ++++---hw/mips.h| 4 +-hw/mips_jazz.c| 3 +-hw/mips_malta.c| 45 +++++++++++---------hw/mips_r4k.c | 20 +++++---- hw/musicpal.c | 15 ++++--- hw/omap_sx1.c | 21 +++++---- hw/pci_host.c | 86 +++++++++++++++++--------------------- hw/pci_host.h | 16 +++----
hw/petalogix_ml605_mmu.c| 7 ++-hw/petalogix_s3adsp1800_mmu.c| 8 ++-hw/pflash_cfi01.c| 67 ++++++++++-------------------hw/pflash_cfi02.c| 93 ++++++++++++++++++++---------------------hw/piix_pci.c| 13 +++++-hw/ppc405_boards.c| 63 +++++++++++++++------------hw/ppc4xx_pci.c| 10 +++--hw/ppce500_pci.c| 21 ++++-----hw/prep_pci.c| 12 ++++-hw/r2d.c| 7 ++-hw/stellaris.c| 5 ++-hw/stellaris_enet.c| 29 +++++-------hw/sysbus.c| 29 +++++++++++++hw/sysbus.h| 8 ++++hw/unin_pci.c| 82 ++++++++++++++++++------------------hw/virtex_ml507.c| 7 ++-hw/z2.c| 15 ++++---rwhandler.c| 87 --------------------------------------rwhandler.h| 27 ------------49 files changed, 638 insertions(+), 658 deletions(-)delete mode 100644
rwhandler.c
delete mode 100644rwhandler.h
Quoted 5 lines · Anthony Liguori
Quoted 4 lines · Avi Kivity
Please pull from
git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.gitmemory/batch
Quoted 7 lines
Quoted 5 lines
to receive the fifth memory API conversions batch. There is really nothing notable, except perhaps the first use of the transaction API.
While the patches have been on the list for just a short time, they have received quite extensive review, for which I am thankful.
Pulled. Thanks.
Guys, please start testing before applying these patches. It's not hard, there are images on the wiki with scripts that area easy to run.
Cheers
$ gdb --args ~/src/c/qemu/build-qemu/microblaze-softmmu/qemu-system-microblaze -kernel linux.bin -serial stdio GNU gdb (Ubuntu/Linaro 7.3-0ubuntu1) 7.3-2011.08~bzr Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /home/edgar/src/c/qemu/build-qemu/microblaze-softmmu/qemu-system-microblaze...done. (gdb) run Starting program: /home/edgar/src/c/qemu/build-qemu/microblaze-softmmu/qemu-system-microblaze -kernel linux.bin -serial stdio [Thread debugging using libthread_db enabled] [New Thread 0x7fffeef3e700 (LWP 25891)]
Program received signal SIGSEGV, Segmentation fault. 0x000000000041be54 in memory_region_init_rom_device (mr=0xfb6900,
ops=<optimized out>, dev=<optimized out>,
name=0x564c5d "petalogix_s3adsp1800.flash", size=16777216)
at /home/edgar/src/c/qemu/qemu/memory.c:973973 mr->ram_addr |= cpu_register_io_memory(memory_region_read_thunk,
(gdb)
Quoted 9 lines · Edgar E. Iglesias
Quoted 8 lines · Anthony Liguori
Quoted 7 lines · Avi Kivity
Please pull from
git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.gitmemory/batchto receive the fifth memory API conversions batch. There is really nothing notable, except perhaps the first use of the transaction API.
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
While the patches have been on the list for just a short time, they have received quite extensive review, for which I am thankful.
Pulled. Thanks.
Guys, please start testing before applying these patches. It's not hard, there are images on the wiki with scripts that area easy to run.
It's also possible to revert offending patches. But a better solution would be to have a comprehensive test setup to do builds and run checks on selected trees. Before a pull to main tree, the test results should be available.
Quoted 28 lines
Cheers
$ gdb --args ~/src/c/qemu/build-qemu/microblaze-softmmu/qemu-system-microblaze -kernel linux.bin -serial stdio GNU gdb (Ubuntu/Linaro 7.3-0ubuntu1) 7.3-2011.08~bzr Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /home/edgar/src/c/qemu/build-qemu/microblaze-softmmu/qemu-system-microblaze...done. (gdb) run Starting program: /home/edgar/src/c/qemu/build-qemu/microblaze-softmmu/qemu-system-microblaze -kernel linux.bin -serial stdio [Thread debugging using libthread_db enabled] [New Thread 0x7fffeef3e700 (LWP 25891)]Program received signal SIGSEGV, Segmentation fault.
0x000000000041be54inmemory_region_init_rom_device(mr=0xfb6900, ops=<optimized out>, dev=<optimized out>,
name=0x564c5d "petalogix_s3adsp1800.flash", size=16777216)
at/home/edgar/src/c/qemu/qemu/memory.c:973
973mr->ram_addr|= cpu_register_io_memory(memory_region_read_thunk, (gdb)
Quoted 16 lines · Blue Swirl
Quoted 14 lines · Edgar E. Iglesias
Quoted 12 lines · Anthony Liguori
Quoted 9 lines · Avi Kivity
Please pull from
git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.gitmemory/batchto receive the fifth memory API conversions batch. There is really nothing notable, except perhaps the first use of the transaction API.
While the patches have been on the list for just a short time, they have received quite extensive review, for which I am thankful.
Pulled. Thanks.
Quoted 7 lines
Quoted 2 lines
Guys, please start testing before applying these patches. It's not hard, there are images on the wiki with scripts that area easy to run.
It's also possible to revert offending patches. But a better solution would be to have a comprehensive test setup to do builds and run checks on selected trees. Before a pull to main tree, the test results should be available.
Before a pull *request*. Semantically, pull requests should be treated as a push. It's the submaintainers responsibility to test the bits they do a pull request for.
That said, the logistics of testing a series like this is mind numbingly complex. We really need to all work on better automation for this. In the interim, I think we're just going to have to leave with occasional breakage from changes like this and make sure it doesn't happen too frequently.
Regards,
Anthony Liguori
Quoted 31 lines
Quoted 29 lines
Cheers
$ gdb --args ~/src/c/qemu/build-qemu/microblaze-softmmu/qemu-system-microblaze -kernel linux.bin -serial stdio GNU gdb (Ubuntu/Linaro 7.3-0ubuntu1) 7.3-2011.08~bzr Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later<http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /home/edgar/src/c/qemu/build-qemu/microblaze-softmmu/qemu-system-microblaze...done. (gdb) run Starting program: /home/edgar/src/c/qemu/build-qemu/microblaze-softmmu/qemu-system-microblaze -kernel linux.bin -serial stdio [Thread debugging using libthread_db enabled] [New Thread 0x7fffeef3e700 (LWP 25891)]Program received signal SIGSEGV, Segmentation fault.
0x000000000041be54inmemory_region_init_rom_device(mr=0xfb6900,ops=<optimized out>, dev=<optimized out>, name=0x564c5d "petalogix_s3adsp1800.flash", size=16777216) at /home/edgar/src/c/qemu/qemu/memory.c:973973
mr->ram_addr|= cpu_register_io_memory(memory_region_read_thunk,
(gdb)
Quoted 25 lines · Anthony Liguori
Quoted 24 lines · Blue Swirl
Quoted 20 lines · Edgar E. Iglesias
Quoted 7 lines · Anthony Liguori
Quoted 5 lines · Avi Kivity
Please pull from
git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.gitmemory/batchQuoted 8 lines
Quoted 6 lines
to receive the fifth memory API conversions batch. There is really nothing notable, except perhaps the first use of the transaction API.
While the patches have been on the list for just a short time, they have
received quite extensive review, for which I am thankful.Pulled. Thanks.
Guys, please start testing before applying these patches. It's not hard, there are images on the wiki with scripts that area easy to run.
Quoted 8 lines
Quoted 4 lines
It's also possible to revert offending patches. But a better solution would be to have a comprehensive test setup to do builds and run checks on selected trees. Before a pull to main tree, the test results should be available.
Before a pull *request*. Semantically, pull requests should be treated as a push. It's the submaintainers responsibility to test the bits they do a pull request for.
Then all maintainers should have the same understanding of what to test.
Quoted 4 lines
That said, the logistics of testing a series like this is mind numbingly complex. We really need to all work on better automation for this. In the interim, I think we're just going to have to leave with occasional breakage from changes like this and make sure it doesn't happen too frequently.
Alex's simple script idea for kernel devs could be reused here. The following would already catch a few errors:
#!/bin/sh
set -e
mkdir obj
cd obj
../configure
make -j
for f in ./*-softmmu/qemu-system-* ./i386-softmmu/qemu; do
echo running $f, exit with Ctrl-a x:
$f
done
This could be integrated to Makefile as well, maybe even generate timestamp files which would be read by git commit hooks to add extra lines about test status.
Quoted 45 lines
Regards,
Anthony Liguori
Quoted 39 lines
Quoted 37 lines
Cheers
$ gdb --args ~/src/c/qemu/build-qemu/microblaze-softmmu/qemu-system-microblaze -kernel linux.bin -serial stdio GNU gdb (Ubuntu/Linaro 7.3-0ubuntu1) 7.3-2011.08~bzr Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later<http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /home/edgar/src/c/qemu/build-qemu/microblaze-softmmu/qemu-system-microblaze...done. (gdb) run Starting program: /home/edgar/src/c/qemu/build-qemu/microblaze-softmmu/qemu-system-microblaze -kernel linux.bin -serial stdio [Thread debugging using libthread_db enabled] [New Thread 0x7fffeef3e700 (LWP 25891)]Program received signal SIGSEGV, Segmentation fault.
0x000000000041be54inmemory_region_init_rom_device(mr=0xfb6900, ops=<optimized out>, dev=<optimized out>, name=0x564c5d "petalogix_s3adsp1800.flash", size=16777216) at/home/edgar/src/c/qemu/qemu/memory.c:973
973mr->ram_addr|= cpu_register_io_memory(memory_region_read_thunk,
(gdb)
Quoted 5 lines · Blue Swirl
Quoted 4 lines · Anthony Liguori
Quoted 3 lines · Blue Swirl
On Thu, Aug 25, 2011 at 6:27 PM, Edgar E. Iglesias <[email protected]> wrote:
[...]
Quoted 8 lines
Quoted 8 lines
Quoted 7 lines
Quoted 2 lines
Guys, please start testing before applying these patches. It's not hard, there are images on the wiki with scripts that area easy to run.
It's also possible to revert offending patches. But a better solution would be to have a comprehensive test setup to do builds and run checks on selected trees. Before a pull to main tree, the test results should be available.
Quoted 5 lines
Quoted 3 lines
Before a pull *request*. Semantically, pull requests should be treated as a push. It's the submaintainers responsibility to test the bits they do a pull request for.
Then all maintainers should have the same understanding of what to test.
In my opinion, the way to spread that understanding is a working "make check". Make it fail constructively when it needs more stuff installed, like test images, or additional software.
Anything more complicated than such a one-liner is bound to be misused, forgotten, or ignored.
Heck, if it's that simple, even non-maintainers could use it ;)
[...]
Quoted 20 lines · Anthony Liguori
Quoted 19 lines · Blue Swirl
Quoted 16 lines · Edgar E. Iglesias
Quoted 5 lines · Anthony Liguori
Quoted 4 lines · Avi Kivity
Please pull from
git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.gitmemory/batchQuoted 7 lines
Quoted 5 lines
to receive the fifth memory API conversions batch. There is really nothing notable, except perhaps the first use of the transaction API.
While the patches have been on the list for just a short time, they have received quite extensive review, for which I am thankful.
Pulled. Thanks.
Guys, please start testing before applying these patches. It's not hard, there are images on the wiki with scripts that area easy to run.
Quoted 8 lines
Quoted 4 lines
It's also possible to revert offending patches. But a better solution would be to have a comprehensive test setup to do builds and run checks on selected trees. Before a pull to main tree, the test results should be available.
Before a pull *request*. Semantically, pull requests should be treated as a push. It's the submaintainers responsibility to test the bits they do a pull request for.
Yup.
Quoted 5 lines
That said, the logistics of testing a series like this is mind numbingly complex. We really need to all work on better automation for this. In the interim, I think we're just going to have to leave with occasional breakage from changes like this and make sure it doesn't happen too frequently.
Yes, I understand its not an easy to test all combinations. But there are scripts that testrun various targets on the wiki. It doesnt take long to run those. You can also explicitely ask for help with the testing. I'm happy to assist if the test scripts dont run or if you CC me on a testme request.
Avi's done a great job with these series, converting all targets and all. I dont mean to misscredit that.
Cheers
Quoted 5 lines · Blue Swirl
Quoted 3 lines
Guys, please start testing before applying these patches. It's not hard, there are images on the wiki with scripts that area easy to run.
It's also possible to revert offending patches.
Please revert the entire pull (git revert 8ef9ea85a2cc1) while I work this out - it isn't trivial.
Quoted 5 lines
But a better solution
would be to have a comprehensive test setup to do builds and run checks on selected trees. Before a pull to main tree, the test results should be available.
True, we should be able to get kvm-autotest to do a sanity test.
Signature · 2 lines
I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.
Quoted 35 lines · Edgar E. Iglesias
Quoted 5 lines · Anthony Liguori
Quoted 4 lines · Avi Kivity
Please pull from
git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.gitmemory/batchQuoted 7 lines
Quoted 5 lines
to receive the fifth memory API conversions batch. There is really nothing notable, except perhaps the first use of the transaction API.
While the patches have been on the list for just a short time, they have received quite extensive review, for which I am thankful.
Pulled. Thanks.
Guys, please start testing before applying these patches. It's not hard, there are images on the wiki with scripts that area easy to run.
Cheers
$ gdb --args ~/src/c/qemu/build-qemu/microblaze-softmmu/qemu-system-microblaze -kernel linux.bin -serial stdio GNU gdb (Ubuntu/Linaro 7.3-0ubuntu1) 7.3-2011.08~bzr Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /home/edgar/src/c/qemu/build-qemu/microblaze-softmmu/qemu-system-microblaze...done. (gdb) run Starting program: /home/edgar/src/c/qemu/build-qemu/microblaze-softmmu/qemu-system-microblaze -kernel linux.bin -serial stdio [Thread debugging using libthread_db enabled] [New Thread 0x7fffeef3e700 (LWP 25891)]
Quoted 7 lines
Program received signal SIGSEGV, Segmentation fault.
0x000000000041be54inmemory_region_init_rom_device(mr=0xfb6900,ops=<optimized out>, dev=<optimized out>, name=0x564c5d "petalogix_s3adsp1800.flash", size=16777216) at /home/edgar/src/c/qemu/qemu/memory.c:973973
mr->ram_addr|= cpu_register_io_memory(memory_region_read_thunk,
(gdb)
That looks pretty much like what I stumbled over today as well. Should be fine with [1], need to test again.
Jan
[1] http://thread.gmane.org/gmane.comp.emulators.qemu/114619
Quoted 11 lines · Jan Kiszka
Quoted 8 lines
Program received signal SIGSEGV, Segmentation fault.
0x000000000041be54inmemory_region_init_rom_device(mr=0xfb6900,ops=<optimized out>, dev=<optimized out>, name=0x564c5d "petalogix_s3adsp1800.flash", size=16777216) at /home/edgar/src/c/qemu/qemu/memory.c:973973
mr->ram_addr|= cpu_register_io_memory(memory_region_read_thunk,
(gdb)That looks pretty much like what I stumbled over today as well. Should be fine with [1], need to test again.
I did and it's not, need to find an opaque from somewhere and initialize that too.
Signature · 2 lines
I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.
Quoted 8 lines · Avi Kivity
Quoted 7 lines · Jan Kiszka
Quoted 7 lines
Program received signal SIGSEGV, Segmentation fault.
0x000000000041be54inmemory_region_init_rom_device(mr=0xfb6900,ops=<optimized out>, dev=<optimized out>, name=0x564c5d "petalogix_s3adsp1800.flash", size=16777216) at /home/edgar/src/c/qemu/qemu/memory.c:973973
mr->ram_addr|=
Quoted 8 lines
Quoted 5 lines
cpu_register_io_memory(memory_region_read_thunk,
Quoted 1 line
(gdb)
That looks pretty much like what I stumbled over today as well. Should be fine with [1], need to test again.
I did and it's not, need to find an opaque from somewhere and initialize that too.
Ugh, yeah, the result is different but still broken.
Jan