* [Qemu-devel] Question: cpu_physical_memory_map() and atomic test and set bit pattern
@ 2015-08-03 10:38 Andrey Smetanin
0 siblings, 0 replies; only message in thread
From: Andrey Smetanin @ 2015-08-03 10:38 UTC (permalink / raw)
To: qemu-devel
Hello, QEMU Developers!
cpu_physical_memory_map() calls directly addess_space_map() which has
comment "Use only for reads OR writes - not for read-modify-write
operations."
Why there is such restriction (only read or write access) in
addess_space_map()/cpu_physical_memory_map() ?
How to transparently atomically test and set bit of guest memory inside
QEMU host?
Is there any API for that pattern ? Or may I use cpu_physical_memory_map
with is_write = 1 for that safely ?
Thanks,
Andrey
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-08-03 10:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-03 10:38 [Qemu-devel] Question: cpu_physical_memory_map() and atomic test and set bit pattern Andrey Smetanin
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).