Hi On Mon, Sep 10, 2018 at 2:44 PM Dr. David Alan Gilbert <dgilb...@redhat.com> wrote: > (I didn't know about guest_phys_block* and would have probably just used > qemu_ram_foreach_block ) >
guest_phys_block*() seems to fit, as it lists only the blocks actually used, and already skip the device RAM. Laszlo, you wrote the functions (https://git.qemu.org/?p=qemu.git;a=commit;h=c5d7f60f0614250bd925071e25220ce5958f75d0), do you think it's appropriate to list the memory to clear, or we should rather use qemu_ram_foreach_block() ? thanks -- Marc-André Lureau