qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Tracing guest virtual addresses


From: Lluís Vilanova
Subject: Re: [Qemu-devel] Tracing guest virtual addresses
Date: Mon, 26 Jun 2017 15:04:25 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Peter Maydell writes:

> On 26 June 2017 at 10:26, Lluís Vilanova <address@hidden> wrote:
>> There's two places where memory access tracing is triggered:
>> 
>> * tcg_gen_qemu_ld/st_...
>> * ld/st templates (both softmmu and user)
>> 
>> AFAIK, helpers use the ld/st templates to access guest memory.

> Mostly, but there are one or two special cases, for instance
> the ARM HELPER(dc_zva) in target/arm/helper.c, which has a
> fastpath that uses tlb_vaddr_to_host to look up the host memory
> address and then memset to do the clear-to-zeroes operation.

Should that be replaced with a cpu_memset or similar?

Cheers,
  Lluis



reply via email to

[Prev in Thread] Current Thread [Next in Thread]