Re: [Qemu-devel] [PATCH v1 8/9] exec.c: Factor out core logic of check_watchpoint()

2019-08-24 Thread Richard Henderson
On 8/23/19 4:27 AM, David Hildenbrand wrote: > On 23.08.19 12:07, David Hildenbrand wrote: >> We want to perform the same checks in probe_write() to trigger a cpu >> exit before doing any modifications. We'll have to pass a PC. >> >> Signed-off-by: David Hildenbrand >> --- >> exec.c

Re: [Qemu-devel] [PATCH v1 8/9] exec.c: Factor out core logic of check_watchpoint()

2019-08-23 Thread David Hildenbrand
On 23.08.19 18:09, Richard Henderson wrote: > On 8/23/19 4:27 AM, David Hildenbrand wrote: >> On 23.08.19 12:07, David Hildenbrand wrote: >>> We want to perform the same checks in probe_write() to trigger a cpu >>> exit before doing any modifications. We'll have to pass a PC. >>> >>> Signed-off-by:

Re: [Qemu-devel] [PATCH v1 8/9] exec.c: Factor out core logic of check_watchpoint()

2019-08-23 Thread Richard Henderson
On 8/23/19 4:27 AM, David Hildenbrand wrote: > On 23.08.19 12:07, David Hildenbrand wrote: >> We want to perform the same checks in probe_write() to trigger a cpu >> exit before doing any modifications. We'll have to pass a PC. >> >> Signed-off-by: David Hildenbrand >> --- >> exec.c

Re: [Qemu-devel] [PATCH v1 8/9] exec.c: Factor out core logic of check_watchpoint()

2019-08-23 Thread David Hildenbrand
On 23.08.19 12:07, David Hildenbrand wrote: > We want to perform the same checks in probe_write() to trigger a cpu > exit before doing any modifications. We'll have to pass a PC. > > Signed-off-by: David Hildenbrand > --- > exec.c| 23 +-- > include/hw/core/cp

[Qemu-devel] [PATCH v1 8/9] exec.c: Factor out core logic of check_watchpoint()

2019-08-23 Thread David Hildenbrand
We want to perform the same checks in probe_write() to trigger a cpu exit before doing any modifications. We'll have to pass a PC. Signed-off-by: David Hildenbrand --- exec.c| 23 +-- include/hw/core/cpu.h | 2 ++ 2 files changed, 19 insertions(+), 6 deletion