aboutsummaryrefslogtreecommitdiff
path: root/.gdbinit
diff options
context:
space:
mode:
authorAnthony PERARD <anthony.perard@citrix.com>2017-07-26 17:53:26 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2017-08-01 17:27:33 +0200
commitf5aa69bdc3418773f26747ca282c291519626ece (patch)
tree882af8630cc258868722ae867741ae5ea7ba9651 /.gdbinit
parent4fadfa00301695a4985e2a229cab857b2ce5c775 (diff)
downloadqemu-f5aa69bdc3418773f26747ca282c291519626ece.zip
qemu-f5aa69bdc3418773f26747ca282c291519626ece.tar.gz
qemu-f5aa69bdc3418773f26747ca282c291519626ece.tar.bz2
exec: Add lock parameter to qemu_ram_ptr_length
Commit 04bf2526ce87f21b32c9acba1c5518708c243ad0 (exec: use qemu_ram_ptr_length to access guest ram) start using qemu_ram_ptr_length instead of qemu_map_ram_ptr, but when used with Xen, the behavior of both function is different. They both call xen_map_cache, but one with "lock", meaning the mapping of guest memory is never released implicitly, and the second one without, which means, mapping can be release later, when needed. In the context of address_space_{read,write}_continue, the ptr to those mapping should not be locked because it is used immediatly and never used again. The lock parameter make it explicit in which context qemu_ram_ptr_length is called. Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Message-Id: <20170726165326.10327-1-anthony.perard@citrix.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to '.gdbinit')
0 files changed, 0 insertions, 0 deletions