qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 2/6] contrib/plugins/cache: fix warning when compiling on 32b


From: Richard Henderson
Subject: Re: [PATCH 2/6] contrib/plugins/cache: fix warning when compiling on 32bits host
Date: Sat, 17 Aug 2024 07:58:52 +1000
User-agent: Mozilla Thunderbird

On 8/16/24 22:47, Alex Bennée wrote:
No, not a bug.  This is a host addr, right there in the name.
Returning uint64_t would be a bug.

No it's:

  * Returns: hardware (physical) target address of instruction

I was kinda assuming that was what the underlying host_addr[] fields in
DisasContextDB are. Are we just saying its QEMU's vaddr of where the
guest physical address is mapped into QEMU?
It's QEMU's host address of where the guest physical address is mapped.
That's why is says host_addr, and has pointer type.


r~



reply via email to

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