tcg: Check for watchpoints in probe_write()
authorDavid Hildenbrand <david@redhat.com>
Fri, 23 Aug 2019 10:07:41 +0000 (12:07 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 3 Sep 2019 15:34:18 +0000 (08:34 -0700)
commit03a981893c99faba84bb373976796ad7dce0aecc
tree6249147b5a39409cd3ded6ff91d745764afb9c92
parent50b107c5d617eaf93301cef20221312e7a986701
tcg: Check for watchpoints in probe_write()

Let size > 0 indicate a promise to write to those bytes.
Check for write watchpoints in the probed range.

Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20190823100741.9621-10-david@redhat.com>
[rth: Recompute index after tlb_fill; check TLB_WATCHPOINT.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/cputlb.c