On 2013-07-01 22:48, Paolo Bonzini wrote: > Il 01/07/2013 20:33, Jan Kiszka ha scritto: >>> This function is not used outside the iothread mutex, so it >>> can use ram_list.mru_block. >> >> Add a comment to qemu_ram_addr_from_host to document this requirement? > > Right now there is hardly any documentation of what does _not_ require > the iothread mutex... basically everything except qemu_safe_ram_ptr and > qemu_ram_ptr_length requires it.
I don't disagree regarding the current state. But that doesn't imply it has to be preserved. Jan -- Siemens AG, Corporate Technology, CT RTC ITP SES-DE Corporate Competence Center Embedded Linux