qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] QEMU commit 04bf2526ce breaks use of xen-mapcache
@ 2017-07-25 17:13 Anthony PERARD
  2017-07-25 17:47 ` Paolo Bonzini
  0 siblings, 1 reply; 6+ messages in thread
From: Anthony PERARD @ 2017-07-25 17:13 UTC (permalink / raw)
  To: Stefano Stabellini; +Cc: xen-devel, qemu-devel, Paolo Bonzini

Hi,

Commits 04bf2526ce (exec: use qemu_ram_ptr_length to access guest ram)
start using qemu_ram_ptr_length() instead of qemu_map_ram_ptr().
That result in calling xen_map_cache() with lock=true, but this mapping
is never invalidated.
So QEMU use more and more RAM until it stop working for a reason or an
other. (crash if host have little RAM or stop emulating but no crash)

I don't know if calling xen_invalidate_map_cache_entry() in
address_space_read_continue() and address_space_write_continue() is the
right answer.  Is there something better to do ?

(A good way to reproduce: Install Windows, so without pv driver.)

Thanks,

-- 
Anthony PERARD

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-07-25 19:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-25 17:13 [Qemu-devel] QEMU commit 04bf2526ce breaks use of xen-mapcache Anthony PERARD
2017-07-25 17:47 ` Paolo Bonzini
2017-07-25 18:08   ` Stefano Stabellini
2017-07-25 18:45     ` Paolo Bonzini
2017-07-25 19:04       ` Stefano Stabellini
2017-07-25 19:42         ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).