On Fri, Jul 23, 2021 at 05:07:52PM +0200, Antonio Caggiano wrote: > Awesome, thanks! > > I already cherry-picked that commit. :D > > I am experimenting with memory regions now. So, I created a ram subregion, > did I use the right type for the task?
Yes, ram is correct. > I added it to the gpu hostmem at the offset specified by the map command. I > enabled the subregion, and then I used subregion->addr for the vkMapMemory > call. Hmm, no. I'd suggest to first vkMapMemory into qemu address space, then pass the address of the mapping to memory_region_init_ram_device_ptr(). take care, Gerd